On 2023/05/10 13:13, Eduardo Bustamante wrote:
If you wish for the current shell to continue running after a terminal
resize, then set the signal disposition for SIGWINCH to ignore.

---
You can also display the new size:

alias my=declare
showsize () {\
 my s=$(stty size); s="(${s// /x})"  ;\
 printf "%s" "$s${s//?/$'\b'}"       ;\
}
trap showsize SIGWINCH


Reply via email to