-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
No output after resizing terminal window #1128
Comments
Please see #1053 and the issues linked under "Handling of terminal resize events". I am assuming this is a duplicate of those? |
@sharkdp This might not be the same issue. I'm not resizing a window while bat is displaying a file. If I open a new window, resize it, and then use bat, some files will show no output. |
Oh, you are right. Sorry for marking this as a duplicate too quickly. Could you please try to unset Even better would be to upgrade to a recent version of I'm not sure if that would fix your problem, but it's worth a try. You could also try to display the file with |
Ah yes so it looks like this issue is probably with I think I had originally set |
Glad this could be resolved - thank you for the feedback! The problem is that you have to pass |
What version of
bat
are you using?bat 0.15.4
Describe the bug you encountered:
For some files, bat produces no output if the terminal window has been resized. For example
bat README.md
on this file https://github.com/tom-henderson/bookmarks/blob/master/README.md produces no output if the terminal has been resized. I assume this is related to the pager sincebat --paging=never README.md
still works.Describe what you expected to happen?
Bat would always produce output.
How did you install
bat
?homebrew
system
$ uname -srm
Darwin 19.4.0 x86_64
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.4
BuildVersion: 19E287
bat
$ bat --version
bat 0.15.4
$ env
BAT_THEME=Tomorrow-Night-Bright
BAT_PAGER=less -RF
$ bat --list-languages
Found custom syntax set.
$ bat --list-themes
Found custom theme set.
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 487 (POSIX regular expressions)
The text was updated successfully, but these errors were encountered: