full view panels on terminals with width > 80
This project has moved to Github
Status: Inactive
Brought to you by:
vak
It will be likely to see Deco uses full width of screen
on terminals which width is more than 80 chars (under
X, for example). When your terminal is 100 or even more
chars width and you still see the same 80 chars panels
it seems like other place on a right side of terminal
window is left unused.
Logged In: YES
user_id=911860
Originator: NO
I also think that it would be good and important for Deco to determine its height and width dynamically. There are so many places in the source code where there are hard-coded numbers like 39, 40, 80, 41, 79, 77 etc. that I wonder if it would not be much easiert to maintain if they were stored in variables determined during start-up, or, even better and nice to have, each time the screen is resized. scr.c seems to support to read environment variables LINES and COLUMNS at least, but to no avail because in other places everything is hard-coded. Leaving aside the dynamic resize feature, determining the width and height during start-up or at least using those environment variables should not be that hard to implement for somebody knowing the source code well enough.