Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.bug > #134809

bug#43126: 26.1; ansi-term not resized after X window resize

From Robert Pluim <rpluim@gmail.com>
Newsgroups gnu.emacs.bug
Subject bug#43126: 26.1; ansi-term not resized after X window resize
Date 2020-09-03 11:09 +0200
Message-ID <mailman.2165.1599124204.2469.bug-gnu-emacs@gnu.org> (permalink)
References <CAOW54GWbdAqUPmqCqg9_tC1Jk4uCJ7boRdjjv_UrR1410cN76g@mail.gmail.com> <m2ft7z2pms.fsf@gmail.com>

Show all headers | View raw


>>>>> 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


Back to gnu.emacs.bug | Previous | Next | Find similar


Thread

bug#43126: 26.1; ansi-term not resized after X window resize Robert Pluim <rpluim@gmail.com> - 2020-09-03 11:09 +0200

csiph-web