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

Scrolling in console, again #2451

Open
dimikot opened this issue Oct 19, 2024 · 3 comments
Open

Scrolling in console, again #2451

dimikot opened this issue Oct 19, 2024 · 3 comments

Comments

@dimikot
Copy link

dimikot commented Oct 19, 2024

I think when Ctrl+O is pressed (in --tty mode at least), the terminal should turn into plain vanilla console. The same way as e.g. mc does it. With mouse scrolling working by default, with Cmd+F triggering built-in terminal app search etc.

Currently, when Ctrl+O is pressed and the panels are hidden, it's pretty hard to work with console (too many differences). Because that's the main purpose of Ctrl+O - to fallback to plain console.

(I know about Ctrl+Shift+F3, it is still not the best experience in comparison to the vanilla console. And Ctrl+Shift+MouseWheel doesn't work on MacOS at least, both in Terminal and in iTerm.)

@faerot
Copy link
Contributor

faerot commented Oct 21, 2024

Personally I like Ctrl+O the way it is. The only thing I hate is pressing F3 to scroll it. If there would be possible to use Up/Down/PgUp/PgDn to scroll the buffer without the need to invoke viewer it would be perfect. Ok, maybe not Up/Down because it scrolls history, but maybe Ctrl+Up/Ctrl+Down or something like that.

What you want is actually can be implemented via terminal emulator easily.
For example, in Kitty you can make startup script which will open 2 tabs one with far, another with bash and bind tab switching hotkey in it to Ctrl+O. This way you would get the behavior like in MC (which I personally don't like, because it lacks context)

@dimikot
Copy link
Author

dimikot commented Nov 5, 2024

2 tabs won't be much useful, since the current directories will be independent there. The whole point of Ctrl+O is to keep the CWD the same as the active panel shows.

@faerot
Copy link
Contributor

faerot commented Nov 11, 2024

Still can be done with kitty's kitten

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

No branches or pull requests

2 participants