After an xterm resize, joe waits up to one second on
glibc-systems (with BSD signal handling I believe...)
before resizing its contents. The reason for this is
that joe issues an alarm(1) and then enters a pause()
and this pause() call is not interrupted by the WINCH
signal by default. The solution is simply to execute a
siginterrupt(SIGWINCH,1) call right after installing
the winch handler. See the attached patch file, using
this joe will always immediately refresh its contents
after resizing the terminal.
Log in to post a comment.