# HG changeset patch # User mikael # Date 1115447687 0 # Node ID 58eb8ad9ef747362f48d28e6396553d4ab7ac2ab # Parent cdaa53d5ef7092a4c0eda0e2f7a47d8feda232d7 [/trunk] Changeset 208 by mikael * Minor changes: remove useless doupdate(), add comments, update TODO * Trap ctrl-q key (for future scr_jump_next_new_message() function...) diff -r cdaa53d5ef70 -r 58eb8ad9ef74 mcabber/src/TODO --- a/mcabber/src/TODO Sat May 07 06:26:46 2005 +0000 +++ b/mcabber/src/TODO Sat May 07 06:34:47 2005 +0000 @@ -15,7 +15,6 @@ maybe we could show it someway (maybe just a flag?). * Show number of online contacts in folded groups * Buddy buffer in full width (handy for cut'n paste!) -* Emacs key bindings in input line (ctrl-w, ctrl-t) * Commands! :-) - /roster diff -r cdaa53d5ef70 -r 58eb8ad9ef74 mcabber/src/screen.c --- a/mcabber/src/screen.c Sat May 07 06:26:46 2005 +0000 +++ b/mcabber/src/screen.c Sat May 07 06:34:47 2005 +0000 @@ -595,8 +595,6 @@ i = g_list_position(buddylist, current_buddy); if (i == -1) { // This is bad scr_LogPrint("Doh! Can't find current selected buddy!!"); - update_panels(); - doupdate(); return; } else if (i < offset) { offset = i; @@ -1088,6 +1086,7 @@ *(ptr_inputline-2) = *(ptr_inputline-1); *(ptr_inputline-1) = swp; } else { + // Swap the two characters before the cursor and move right. swp = *(ptr_inputline-1); *(ptr_inputline-1) = *ptr_inputline; *ptr_inputline++ = swp; @@ -1382,6 +1381,9 @@ case 14: // Ctrl-n scr_ScrollDown(); break; + case 17: // Ctrl-q + // scr_jump_next_new_message(); + break; case 20: // Ctrl-t readline_transpose_chars(); break;