Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.c @ 364:33b8e801ffa6
Merge changeset 315 (65aa05520556)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 24 Jul 2005 15:13:53 +0100 |
parents | 913915140ad2 65aa05520556 |
children | ddb6593bedc9 |
comparison
equal
deleted
inserted
replaced
363:913915140ad2 | 364:33b8e801ffa6 |
---|---|
1397 wmove(inputWnd, 0, ptr_inputline - (char*)&inputLine - inputline_offset); | 1397 wmove(inputWnd, 0, ptr_inputline - (char*)&inputLine - inputline_offset); |
1398 } | 1398 } |
1399 | 1399 |
1400 void scr_handle_sigint(void) | 1400 void scr_handle_sigint(void) |
1401 { | 1401 { |
1402 scr_LogPrint("In screen. completion_started=%d", completion_started); | 1402 // Leave multi-line mode |
1403 process_command("/msay abort"); | |
1403 // Same as Ctrl-g, now | 1404 // Same as Ctrl-g, now |
1404 scr_cancel_current_completion(); | 1405 scr_cancel_current_completion(); |
1405 scr_end_current_completion(); | 1406 scr_end_current_completion(); |
1406 check_offset(-1); | 1407 check_offset(-1); |
1407 refresh_inputline(); | 1408 refresh_inputline(); |