Mercurial > hg
diff mcabber/src/screen.c @ 196:58eb8ad9ef74
[/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...)
author | mikael |
---|---|
date | Sat, 07 May 2005 06:34:47 +0000 |
parents | cdaa53d5ef70 |
children | c289e3c39c48 |
line wrap: on
line diff
--- 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;