Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
authorArt Cancro <ajc@citadel.org>
Thu, 2 Sep 2010 20:01:35 +0000 (16:01 -0400)
committerArt Cancro <ajc@citadel.org>
Thu, 2 Sep 2010 20:01:35 +0000 (16:01 -0400)
citadel/textclient/screen.c

index b05b05447246ac4d59fcbab4cde4c1d5dd70a339..8229c63d3bfb5a06f2998e26048e5618a910533b 100644 (file)
@@ -28,6 +28,7 @@ int lines_printed = 0;
 int cols_printed = 0;
 
 extern int rc_ansi_color;
+extern int rc_prompt_control;
 extern void check_screen_dims(void);
 
 void do_keepalive(void);
@@ -114,7 +115,7 @@ void hit_any_key(void) {
        scr_printf("        ");
        scr_putc(13);
        stty_ctdl(1);
-/*
+
        if ( (rc_prompt_control == 1)
           || ((rc_prompt_control == 3) && (userflags & US_PROMPTCTL)) ) {
                if (b == 'q' || b == 'Q' || b == 's' || b == 'S')
@@ -122,7 +123,7 @@ void hit_any_key(void) {
                if (b == 'n' || b == 'N')
                        b = NEXT_KEY;
        }
-*/
+
        if (b==NEXT_KEY) sigcaught = SIGINT;
        if (b==STOP_KEY) sigcaught = SIGQUIT;
 }