Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.h @ 276:627925d885de
Limit the number of lines in multi-line messages
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 04 Jul 2005 12:55:54 +0100 |
parents | 8d3d5bd52da3 |
children | f0b7ff2df7e8 1ceb68eb2fc1 |
comparison
equal
deleted
inserted
replaced
275:0770da258c05 | 276:627925d885de |
---|---|
13 #define ROSTER_WIDTH 24 | 13 #define ROSTER_WIDTH 24 |
14 #define PREFIX_WIDTH 17 | 14 #define PREFIX_WIDTH 17 |
15 #define CHAT_WIN_HEIGHT (maxY-1-LOG_WIN_HEIGHT) | 15 #define CHAT_WIN_HEIGHT (maxY-1-LOG_WIN_HEIGHT) |
16 | 16 |
17 #define INPUTLINE_LENGTH 1024 | 17 #define INPUTLINE_LENGTH 1024 |
18 | |
19 // Only used in screen.c; this is the maximum line number | |
20 // in a multi-line message. Should be < 1000 | |
21 // Note: message length is limited by the HBB_BLOCKSIZE size too | |
22 #define MULTILINE_MAX_LINE_NUMBER 299 | |
18 | 23 |
19 extern int update_roster; | 24 extern int update_roster; |
20 | 25 |
21 void scr_InitCurses(void); | 26 void scr_InitCurses(void); |
22 void scr_DrawMainWindow(unsigned int fullinit); | 27 void scr_DrawMainWindow(unsigned int fullinit); |