# HG changeset patch # User Matti Hamalainen # Date 1289783059 -7200 # Node ID 35b1714eb3b209202e61d33f15aca61a6015e9f8 # Parent 8d4cdbeae6064bd0171c119bc5548a2012fbf484 Change F1 functionality to proper Insert key. diff -r 8d4cdbeae606 -r 35b1714eb3b2 README --- a/README Mon Nov 15 02:06:16 2010 +0200 +++ b/README Mon Nov 15 03:04:19 2010 +0200 @@ -40,21 +40,25 @@ arrow up/down - Browse input history. ctrl+left/right - Move cursor through words. -ctrl+l - Refresh/redraw screen. +INS - Toggle between insert and overwrite modes. +DEL - Delete one character at cursor position. +Backspace - Delete one character left to the cursor position. -F1 - Toggle between insert and overwrite modes. F2 - Clear current edit buffer. -F4 - Toggle ignore mode on/off. +F5 - Toggle ignore mode on/off. F8 - Toggle private chat mode on/off. F9 - Quit. +ctrl+L - Refresh/redraw screen. + Commands -------- /to - Set target for private chat. Example: "/to foobar" will set target to user "foobar". After this, pressing function key F8 will toggle between private mode and - public. + public. Private chat mode is indicated by "username>" + on the input line. /ignore [user] - Toggle user to/from ignore. "/ignore" without specified username will list users currently on the ignore list. diff -r 8d4cdbeae606 -r 35b1714eb3b2 nnchat.c --- a/nnchat.c Mon Nov 15 02:06:16 2010 +0200 +++ b/nnchat.c Mon Nov 15 03:04:19 2010 +0200 @@ -1159,7 +1159,7 @@ break; - case 0x109: /* F1 = Toggle insert / overwrite mode */ + case KEY_IC: /* F1 = Toggle insert / overwrite mode */ insertMode = !insertMode; update = TRUE; break;