1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: fix screen size in macro getmaxyx when using fake ncurses

This commit is contained in:
Sébastien Helleu
2025-11-11 20:03:35 +01:00
parent f3a8068109
commit b9f1145d03
+2 -2
View File
@@ -63,8 +63,8 @@
y = 0;
#define getmaxyx(win, x, y) \
x = 0; \
y = 0;
x = COLS - 1; \
y = LINES - 1;
struct _window
{