vifm / vifm

Vifm is a file manager with curses interface, which provides Vim-like environment for managing objects within file systems, extended with some useful ideas from mutt.
https://vifm.info
GNU General Public License v2.0
2.7k stars 119 forks source link

Terminal is too small for vifm #730

Open wgmayer0 opened 2 years ago

wgmayer0 commented 2 years ago

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

xaizek commented 2 years ago

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 commented 2 years ago

Interesting. Just doesn't intuitively make sense to me because a terminal with text can get to that size with no problem. Using Xmonad, it is nice to be able to see multiple vifm windows. I believe it can be done in theory!

On Thu, Oct 28, 2021, 7:18 AM xaizek @.***> wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vifm/vifm/issues/730#issuecomment-953749233, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTB5TMSCYFZIOVOULN4KZ3UJEWQDANCNFSM5G4AWF7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

xaizek commented 2 years ago

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 commented 2 years ago

Yeah I have read that. It would be nice if is wasn't based on curses oh well 😴😕😑

On Thu, Oct 28, 2021, 1:41 PM xaizek @.***> wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vifm/vifm/issues/730#issuecomment-954061421, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTB5TMG53XZKBGNS6OPGODUJGKOTANCNFSM5G4AWF7Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.