Package: xwpe Version: 1.5.30a-4.2 Severity: normal When the terminal is resized (e.g. making it wider or taller), wpe does not redraw or adapt to the new terminal dimensions. The editor content stays at the original size, leaving blank or stale areas.
Steps to reproduce: 1. Run wpe in a terminal 2. Resize the terminal window (drag corner to make it larger) 3. Observe: the editor does not adapt to the new size Root cause: There is no SIGWINCH signal handler in the terminal mode code (we_term.c). The terminal dimensions (MAXSCOL, MAXSLNS) are read once during initialization in e_begscr() and the screen buffers (schirm, altschirm, extbyte) are allocated with those initial dimensions and never reallocated. Additionally, if MAXSCOL were updated without reallocating the screen buffers, the e_pr_char macro (which uses MAXSCOL for address calculation) would cause buffer overflows.

