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:
@@ -63,8 +63,8 @@
|
||||
y = 0;
|
||||
|
||||
#define getmaxyx(win, x, y) \
|
||||
x = 0; \
|
||||
y = 0;
|
||||
x = COLS - 1; \
|
||||
y = LINES - 1;
|
||||
|
||||
struct _window
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user