comparison mcabber/src/screen.c @ 382:4c6e8392e465

Use nodelay() instead of halfdelay() Maybe it could help people having a problem with the PgUp key...
author Mikael Berthe <mikael@lilotux.net>
date Thu, 28 Jul 2005 20:12:23 +0100
parents bd5638c21834
children d59e9b8c91d3
comparison
equal deleted inserted replaced
381:685ac4c2e502 382:4c6e8392e465
198 } 198 }
199 199
200 void scr_InitCurses(void) 200 void scr_InitCurses(void)
201 { 201 {
202 initscr(); 202 initscr();
203 raw();
203 noecho(); 204 noecho();
204 raw();
205 halfdelay(5);
206 start_color(); 205 start_color();
207 use_default_colors(); 206 use_default_colors();
208 Curses = TRUE; 207 Curses = TRUE;
209 208
210 ParseColors(); 209 ParseColors();
573 572
574 573
575 if (fullinit) { 574 if (fullinit) {
576 // Enable keypad (+ special keys) 575 // Enable keypad (+ special keys)
577 keypad(inputWnd, TRUE); 576 keypad(inputWnd, TRUE);
577 nodelay(inputWnd, TRUE);
578 578
579 // Create panels 579 // Create panels
580 rosterPanel = new_panel(rosterWnd); 580 rosterPanel = new_panel(rosterWnd);
581 chatPanel = new_panel(chatWnd); 581 chatPanel = new_panel(chatWnd);
582 logPanel_border = new_panel(logWnd_border); 582 logPanel_border = new_panel(logWnd_border);