changeset 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 685ac4c2e502
children d59e9b8c91d3
files mcabber/src/screen.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/screen.c	Tue Jul 26 20:15:36 2005 +0100
+++ b/mcabber/src/screen.c	Thu Jul 28 20:12:23 2005 +0100
@@ -200,9 +200,8 @@
 void scr_InitCurses(void)
 {
   initscr();
+  raw();
   noecho();
-  raw();
-  halfdelay(5);
   start_color();
   use_default_colors();
   Curses = TRUE;
@@ -575,6 +574,7 @@
   if (fullinit) {
     // Enable keypad (+ special keys)
     keypad(inputWnd, TRUE);
+    nodelay(inputWnd, TRUE);
 
     // Create panels
     rosterPanel = new_panel(rosterWnd);