[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

winch trap delayed until keypress

From: Egmont Koblinger
Subject: winch trap delayed until keypress
Date: Tue, 20 May 2014 14:28:00 +0200


Execute this in an interactive bash and then resize the window:
trap 'stty size' winch

In bash-4.2, the trap was executed immediately upon resize.  In
bash-4.3, it is delayed until the next keypress.

Is this an intentional, expected change?  There seems to be no
relevant entry in NEWS.

I used to use this command to verify the behavior of multi-tab
emulators, whether they send the resize event to all their tabs
immediately, or delay it until the tab becomes visible.  Anyway, I can
still do this with bash-4.2 or zsh, so it's not a problem for me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]