comparison main.c @ 572:7f83b1578bda

Ctrl+C is bit too easy to hit on for quitting, remove that.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Dec 2012 15:50:08 +0200
parents 3ae357fd34bb
children 699147b1bbbc
comparison
equal deleted inserted replaced
571:3ae357fd34bb 572:7f83b1578bda
1510 case KEY_F(6): // F6 = Ignore mode 1510 case KEY_F(6): // F6 = Ignore mode
1511 optOnlyFriendPrv = !optOnlyFriendPrv; 1511 optOnlyFriendPrv = !optOnlyFriendPrv;
1512 printMsgQ(currWin, "Only friends allowed to PRV you = %s\n", optOnlyFriendPrv ? "ON" : "OFF"); 1512 printMsgQ(currWin, "Only friends allowed to PRV you = %s\n", optOnlyFriendPrv ? "ON" : "OFF");
1513 break; 1513 break;
1514 1514
1515 case 0x03: // ^C = quit
1516 case KEY_F(9): // F9 = Quit 1515 case KEY_F(9): // F9 = Quit
1517 printMsg(currWin, "Quitting per user request (%d/0x%x).\n", c, c); 1516 printMsg(currWin, "Quitting per user request (%d/0x%x).\n", c, c);
1518 appQuitFlag = TRUE; 1517 appQuitFlag = TRUE;
1519 break; 1518 break;
1520 1519
1538 { 1537 {
1539 case KEY_ENTER: 1538 case KEY_ENTER:
1540 editState->done = TRUE; 1539 editState->done = TRUE;
1541 break; 1540 break;
1542 1541
1543 case 0x03: // ^C = quit
1544 case KEY_F(9): // F9 = Quit 1542 case KEY_F(9): // F9 = Quit
1545 printMsg(currWin, "Quitting per user request (%d/0x%x).\n", c, c); 1543 printMsg(currWin, "Quitting per user request (%d/0x%x).\n", c, c);
1546 appQuitFlag = TRUE; 1544 appQuitFlag = TRUE;
1547 break; 1545 break;
1548 1546