Call wclear on resize
Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window.weechat-hashes
parent
a84c9cdda7
commit
17898622e3
1
ui.c
1
ui.c
|
@ -556,6 +556,7 @@ void uiFormat(
|
||||||
|
|
||||||
static void resize(void) {
|
static void resize(void) {
|
||||||
statusUpdate();
|
statusUpdate();
|
||||||
|
wclear(main);
|
||||||
wresize(main, MAIN_LINES, COLS);
|
wresize(main, MAIN_LINES, COLS);
|
||||||
for (uint num = 0; num < windows.len; ++num) {
|
for (uint num = 0; num < windows.len; ++num) {
|
||||||
bufferReflow(windows.ptrs[num]->buffer, COLS);
|
bufferReflow(windows.ptrs[num]->buffer, COLS);
|
||||||
|
|
Loading…
Reference in New Issue