bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] Refresh readline notion of terminal size


From: Carlos Pita
Subject: [Bug-readline] Refresh readline notion of terminal size
Date: Thu, 14 Jul 2016 16:00:27 -0300

Hi Chet,

regarding the problem with signal handling and apps not informing rl
about terminal resize events, is it possible somehow to bind a key to
ask rl "Please update yourself", just as a workaround? I managed to do
something like that for python using the ffi, but there are to
limitations:

1. It won't work in general.
2. It's not really a keybinding but a function I explicitly call (I
could have used the ffi to set a signal handler, though).

I understand your position regarding signal handling but many repls
have not been updated to take rl changes into account and since at
least one year it has became a PITA to work in repls with resizable
windows.

Thank you in advance

Cheers
--
Carlos



reply via email to

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