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

Terminal is too small for vifm #730

Open
wgmayer0 opened this issue Oct 28, 2021 · 4 comments
Open

Terminal is too small for vifm #730

wgmayer0 opened this issue Oct 28, 2021 · 4 comments

Comments

@wgmayer0
Copy link

How do I disable "Terminal is too small for vifm" when the screen gets smaller?

@xaizek
Copy link
Member

xaizek commented Oct 28, 2021

It can't be disabled. Why do you want to disable it?

Prior to introduction of the message it used to quit. Size limit can't be disabled completely because at some point window dimensions become zero and this causes trouble, but minimal size can probably be made smaller.

@wgmayer0
Copy link
Author

wgmayer0 commented Oct 28, 2021 via email

@xaizek
Copy link
Member

xaizek commented Oct 28, 2021

Before it becomes text in the terminal, it's a set of curses windows. wresize() of curses fails if you set window height/width to zero and weird things follow, that's why at small size you get a single window which acts predictably.

@wgmayer0
Copy link
Author

wgmayer0 commented Oct 28, 2021 via email

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

No branches or pull requests

2 participants