dotfiles/private_dot_bashrc.d/window.sh

9 lines
225 B
Bash
Raw Normal View History

2021-04-13 14:43:04 -04:00
# No locking on Ctrl-S
stty -ixon
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi