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

Suggestion: Scroll history of current chat via keyboard #74

Open
nossidge opened this issue Apr 13, 2024 · 1 comment
Open

Suggestion: Scroll history of current chat via keyboard #74

nossidge opened this issue Apr 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nossidge
Copy link

This is a great UI, it's almost 100% what I want!

It's perfect for my requirements, but for one thing. It seems to be necessary to use the mouse to scroll up and down through a chat.

I'd like to be able to use this program through the full-screen TTY Linux session (via Ctrl+Alt+F5) where using the mouse isn't an option.

Would it be possible to make this 100% keyboard-only compatible, by perhaps allowing the use of the PageUp and PageDown keys to scroll through the chat history?

Thanks, and I hope you give this feature a thought!

@ggozad
Copy link
Owner

ggozad commented Apr 14, 2024

Hey thank you so much for the kind words :)
This has popped up before, it's something that I also miss.
The difficulty is that the underlying markdown widget does not get focus (it's only a view) and does not support afaik keyboard scrolling. It is hard to capture keyboard events without messing with the terminal's own events.
Let me think a bit about it, perhaps I can can figure out something by binding to the inputs.

@ggozad ggozad added the enhancement New feature or request label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants