[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43126: 26.1; ansi-term not resized after X window resize
From: |
Robert Pluim |
Subject: |
bug#43126: 26.1; ansi-term not resized after X window resize |
Date: |
Thu, 03 Sep 2020 11:09:15 +0200 |
>>>>> On Sun, 30 Aug 2020 17:39:37 -0500, Soumendra Ganguly
>>>>> <soumendraganguly@gmail.com> said:
Soumendra> Issue: ansi-term does not adjust the "terminal size" when the
"emacs X
Soumendra> window"/frame is resized. Here "terminal size" refers to "struct
winsize"/
Soumendra> "stty size"/"${COLUMNS}+${LINES}". As a result, say, output of
ls(1)
Soumendra> becomes hard to parse visually. The bug was discovered on i3wm,
which
Soumendra> is a tiling window manager, where X window size updates are
frequent.
Soumendra> Reason: When the frame is resized, the window size changes, but
processes
Soumendra> running in buffers are not notified of that change.
Soumendra> Fix: In lisp/window.el, add window--adjust-process-windows to
Soumendra> window-size-change-functions. Patch implementing proposed fix
Soumendra> follows.
Could you check 26.3? As far as I can tell this issue was already
fixed there.
Robert
- bug#43126: 26.1; ansi-term not resized after X window resize,
Robert Pluim <=