You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
I've doubled script speed by reducing tput usage to just tput lines and tput cols. We could remove tput altogether (This means dropping ncurses) if we can somehow find a quick and reliable way to get the values of these shell variables directly.
Scripts can't read these variables as they're shell variables and not environment variables. Here are the current ways I've found to set these variables in a script:
eval $(resize) (Slow on vte based terminals)
Sending the signal WINCH to the shell (I couldn't get this to work but I came across it multiple times when searching)
Any ideas?
The text was updated successfully, but these errors were encountered:
I've doubled script speed by reducing tput usage to just
tput lines
andtput cols
. We could remove tput altogether (This means dropping ncurses) if we can somehow find a quick and reliable way to get the values of these shell variables directly.Scripts can't read these variables as they're shell variables and not environment variables. Here are the current ways I've found to set these variables in a script:
eval $(resize)
(Slow on vte based terminals)WINCH
to the shell (I couldn't get this to work but I came across it multiple times when searching)Any ideas?
The text was updated successfully, but these errors were encountered: