| CARVIEW |
Select Language
HTTP/2 200
date: Wed, 14 Jan 2026 22:21:45 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=206.786857,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=664.515568,nginx;desc="NGINX";dur=1.154082,glb;desc="GLB";dur=96.93904
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: 69ef6d1
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=o9MTA8AxElJkM3DXnGJU6bK9bH73Fwr2J4wUAr5%2BAA199c0xynI5J1Kv1JV6Su8WX2iOuq5cUYOpIgb38GY5XTVoR%2Fdp4tp5Ya9Jx6aTL9AOM4n8KVh7k8Wml3HD9YcrJ3peyOdXFRKxnzZ5bs%2FsQXriLgMMm0233REnQyRpfA54M1GC9l0%2FKUxzFdaaMxPpLRQNVI%2BJ%2FePbTyVZkERL6gGjRZVJwJ3454%2FwHahCuFIhZTbtqIz9hoE%2B5IAaJLt6o08H80p8J%2FM0u21POEjNXw%3D%3D--%2FhKiS0XSAf8lG%2BGC--HjI06L7i%2FGFX0%2BkTV613iQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1735898823.1768429304; Path=/; Domain=github.com; Expires=Thu, 14 Jan 2027 22:21:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 14 Jan 2027 22:21:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9CEC:3666AD:4812EB:565818:696816F8
dynamic --headless, nvim_ui_builtin() Β· Issue #7438 Β· neovim/neovim Β· GitHub
No one assignedNo projectsNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed as duplicate of#5035
Labels
remoteremote UI, --remote commands, p2p / peer-to-peerremote UI, --remote commands, p2p / peer-to-peertuitermcodes, terminfo, termcaptermcodes, terminfo, termcapuiui-extensibilityUI extensibility, events, protocol, externalized UIUI extensibility, events, protocol, externalized UI
Milestone
Description
I would like to request a vimscript function or api function that should negate the effect of the --headless command line switch. Lets call it nvim_launch_builtin_tui() for now. I imagine something like this:
if My_condition()
call nvim_launch_builtin_tui()
" now it looks as if we did start nvim without --headless
else
" this text will go directly to stdout
echo "running headless"
endif'and then one would do nvim --headless -S above-file.vim. Depending on the user function My_condition one would effectively end up in a "normal" TUI nvim instance or in a headless nvim.
If I can express the logic of the My_condition() vimscript function in the my_condition shell command/function I can currently do something similar with this shell script:
if my_condition; then
# this now *is* a nvim without --headless
nvim
else
# this text will go directly to stdout
nvim --headless --cmd 'echo "running headless"'
fitmccombs
Metadata
Metadata
Assignees
Labels
remoteremote UI, --remote commands, p2p / peer-to-peerremote UI, --remote commands, p2p / peer-to-peertuitermcodes, terminfo, termcaptermcodes, terminfo, termcapuiui-extensibilityUI extensibility, events, protocol, externalized UIUI extensibility, events, protocol, externalized UI
Type
Projects
Milestone
Relationships
Development
Issue actions
You canβt perform that action at this time.