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

Is there an API for a per-window statusbar? #3101

Closed
cpdean opened this issue Nov 14, 2020 · 4 comments
Closed

Is there an API for a per-window statusbar? #3101

cpdean opened this issue Nov 14, 2020 · 4 comments

Comments

@cpdean
Copy link

cpdean commented Nov 14, 2020

I'd like for there to be a way to render a string of text at the bottom of a given terminal window to provide per-window stats that may normally go in a prompt, kind of like this extension to provide contextual information in the tmux statusbar.

Is there a way to do that, either through kitty @ ... commands or through the API exposed to kitten plugins?

Thanks!

@kovidgoyal
Copy link
Owner

See https://sw.kovidgoyal.net/kitty/remote-control.html

But for an actual docked status bar it would need #2391

@cpdean
Copy link
Author

cpdean commented Nov 14, 2020

So the idea would be to implement a status bar as a 1 character high window and populate it with content via send-text?

@kovidgoyal
Copy link
Owner

yes.

@cpdean
Copy link
Author

cpdean commented Nov 14, 2020

thanks! i will try working on something in this direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants