Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext_cmdline/message for the TUI: tracking issue #27811

Open
3 of 13 tasks
luukvbaal opened this issue Mar 11, 2024 · 1 comment
Open
3 of 13 tasks

ext_cmdline/message for the TUI: tracking issue #27811

luukvbaal opened this issue Mar 11, 2024 · 1 comment
Labels
cmdline-mode command line, also cmdwin messages UI messages, log messages ui-extensibility UI extensibility, events, protocol

Comments

@luukvbaal
Copy link
Contributor

luukvbaal commented Mar 11, 2024

I will be working on an ext_cmdline/message implementation for the TUI. An internal C implementation was explored first, but dropped after coming to the conclusion that properly untangling the current cmdline from the message grid in C would require more work than leveraging and improving the already existing parallel ext_ code path.

Goals/progress:

@luukvbaal luukvbaal added ui-extensibility UI extensibility, events, protocol messages UI messages, log messages cmdline-mode command line, also cmdwin labels Mar 11, 2024
@luukvbaal
Copy link
Contributor Author

Okay, I have basically finished the necessary plumbing for an initial ext_cmdline/message implementation(#27855). Now I find myself wondering if it will really be worth the effort to try to spoof the current message grid implementation if we intend to move away from it later. My initial implementation is close but actually making all screen tests pass will require more work. Maybe we @neovim/core @neovim/padawans should try to settle on what the default cmdline/message should look like first.

I think there is merit in keeping the cmdline in the current 'cmdheight' area, as anything else might be too "unfamiliar"? If we don't care about that and can settle on a better alternative, I'm all for it. E.g. a floating window without borders on the last row (potentially on top of the statusline), or a floating window with borders positioned elsewhere.

I suppose the most obvious candidate for an alternative message window would be a floating window with or without borders in the bottom right corner.

Welcoming discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmdline-mode command line, also cmdwin messages UI messages, log messages ui-extensibility UI extensibility, events, protocol
Projects
None yet
Development

No branches or pull requests

1 participant