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
Programs running a la windows(not the os)/terminals that resize generally deliver a SIGWINCH upon that resize occuring.
COLS() and LINES() should always contain the current window dimensions. Currently they only return the dimensions that they were initially invoked with.
Example:
sub x()
{
say COLS();
}
initscr();
signal(SIGWINCH).tap: { x() }
loop {
sleep(1);
}
The text was updated successfully, but these errors were encountered:
Programs running a la windows(not the os)/terminals that resize generally deliver a SIGWINCH upon that resize occuring.
COLS() and LINES() should always contain the current window dimensions. Currently they only return the dimensions that they were initially invoked with.
Example:
The text was updated successfully, but these errors were encountered: