Mercurial > vim
comparison src/ex_getln.c @ 571:0ae54f30d5bc
updated for version 7.0162
author | vimboss |
---|---|
date | Fri, 02 Dec 2005 00:46:37 +0000 |
parents | 2df7f3a5eb96 |
children | 25a70b1cd2da |
comparison
equal
deleted
inserted
replaced
570:27d1ec742f17 | 571:0ae54f30d5bc |
---|---|
298 setmouse(); | 298 setmouse(); |
299 #endif | 299 #endif |
300 #ifdef CURSOR_SHAPE | 300 #ifdef CURSOR_SHAPE |
301 ui_cursor_shape(); /* may show different cursor shape */ | 301 ui_cursor_shape(); /* may show different cursor shape */ |
302 #endif | 302 #endif |
303 | |
304 /* When inside an autocommand for writing "exiting" may be set and | |
305 * terminal mode set to cooked. Need to set raw mode here then. */ | |
306 settmode(TMODE_RAW); | |
303 | 307 |
304 #ifdef FEAT_CMDHIST | 308 #ifdef FEAT_CMDHIST |
305 init_history(); | 309 init_history(); |
306 hiscnt = hislen; /* set hiscnt to impossible history value */ | 310 hiscnt = hislen; /* set hiscnt to impossible history value */ |
307 histype = hist_char2type(firstc); | 311 histype = hist_char2type(firstc); |
1048 break; | 1052 break; |
1049 #endif | 1053 #endif |
1050 | 1054 |
1051 case ESC: /* get here if p_wc != ESC or when ESC typed twice */ | 1055 case ESC: /* get here if p_wc != ESC or when ESC typed twice */ |
1052 case Ctrl_C: | 1056 case Ctrl_C: |
1053 /* In exmode it doesn't make sense to return. Except when | 1057 /* In exmode it doesn't make sense to return. Except when |
1054 * ":normal" runs out of characters. */ | 1058 * ":normal" runs out of characters. */ |
1055 if (exmode_active | 1059 if (exmode_active |
1056 #ifdef FEAT_EX_EXTRA | 1060 #ifdef FEAT_EX_EXTRA |
1057 && (ex_normal_busy == 0 || typebuf.tb_len > 0) | 1061 && (ex_normal_busy == 0 || typebuf.tb_len > 0) |
1058 #endif | 1062 #endif |