-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can't quit normally after ctrl-end #1055
Comments
Just press End. The combination Ctrl-End is something else. I think it's like F ("forward forever") which waits for additional input. |
Thank you for your answer! For some reason, it doesn't work in my Linux VM, neither from Windows Terminal 1.0 nor the old console (cmd.exe then ssh to the VM). It works on Windows Terminal 1.0 PowerShell on Windows though |
what exactly "doesn't work"? |
Pressing END doesn't go to the end, it doesn't do anything :) |
Okay, so you use Windows Terminal with the ancient I'm sorry, but I cannot reproduce this easily and - honestly - I don't think it's related to |
Nope, I'm using Windows Terminal running ssh to the Linux VM, no cmd involved in my main scenario. I tested in the old console with cmd as well to check the behaviour :) EDIT: I'll test less asap :) Ctrl-End go to the end and wait for data. Interrupting it exit the waiting data and less display "END" and I can quit gracefully I agree it's not a bat issue :) |
What version of
bat
are you using?bat 0.15.4
In Ubuntu 20.04 installed in a hyper-V VM on Windows 1909 host.
From Windows Terminal 1.0.
Describe the bug you encountered:
Opening a file longer than the height of the term, I press Ctlr-End to reach the end of the file. Once at the end of the file, I have the message
Waiting for data... (interrupt to abort)
and can't quit normally.When I interrupt, the display seems normal but when I hit a key, the screen blink back to prompt before the call to
bat
Describe what you expected to happen?
I should be able to quit normally
How did you install
bat
?dpkg -i
system
$ uname -srm
Linux 5.4.0-33-generic x86_64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
bat
$ bat --version
bat 0.15.4
$ env
BAT_THEME=Monokai Extended
bat_config
bat_wrapper
No wrapper script for 'bat'.
bat_wrapper_function
No wrapper function for 'bat'.
No wrapper function for 'cat'.
tool
$ less --version
less 551 (GNU regular expressions)
The text was updated successfully, but these errors were encountered: