[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
curses winsize bug
From: |
Pete Wyckoff |
Subject: |
curses winsize bug |
Date: |
Sun, 7 Jan 2001 16:58:37 -0500 |
User-agent: |
Mutt/1.3.12i |
I added these lines just above _io_open_display in src/io-curses.h
/*
* defined in window.h to be scr_lines, but actually want curses value
* here --pw
*/
#undef LINES
Otherwise I always get 80x24 regardless of the size of my window
(xterm, that is). curses maintains "extern int LINES".
Recommend you remove the #define of LINES in window.h and put scr_lines
everwhere that needs it directly.
-- Pete
- curses winsize bug,
Pete Wyckoff <=