diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-02 00:46:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-02 00:46:37 +0000 |
commit | f4d1145328c9e234730f4f3cb45116ba46be1594 (patch) | |
tree | fdeeb39f97fc913d014c76536e0deef7872d5ae1 /src | |
parent | c6039d8fcbcc991de374c50f0a2f7ffb96d8437c (diff) |
updated for version 7.0162
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_getln.c | 6 | ||||
-rw-r--r-- | src/screen.c | 2 | ||||
-rw-r--r-- | src/version.h | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index f92140adb4..b355257f4e 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -301,6 +301,10 @@ getcmdline(firstc, count, indent) ui_cursor_shape(); /* may show different cursor shape */ #endif + /* When inside an autocommand for writing "exiting" may be set and + * terminal mode set to cooked. Need to set raw mode here then. */ + settmode(TMODE_RAW); + #ifdef FEAT_CMDHIST init_history(); hiscnt = hislen; /* set hiscnt to impossible history value */ @@ -1050,7 +1054,7 @@ getcmdline(firstc, count, indent) case ESC: /* get here if p_wc != ESC or when ESC typed twice */ case Ctrl_C: - /* In exmode it doesn't make sense to return. Except when + /* In exmode it doesn't make sense to return. Except when * ":normal" runs out of characters. */ if (exmode_active #ifdef FEAT_EX_EXTRA diff --git a/src/screen.c b/src/screen.c index d184865e39..ccc7cecdba 100644 --- a/src/screen.c +++ b/src/screen.c @@ -6884,7 +6884,7 @@ screenalloc(clear) else len = Columns; #ifdef FEAT_MBYTE - /* When switching to utf-8 dont copy characters, they + /* When switching to utf-8 don't copy characters, they * may be invalid now. */ if (!(enc_utf8 && ScreenLinesUC == NULL)) #endif diff --git a/src/version.h b/src/version.h index f4ac30b81e..d1c888bcbc 100644 --- a/src/version.h +++ b/src/version.h @@ -36,5 +36,5 @@ #define VIM_VERSION_NODOT "vim70aa" #define VIM_VERSION_SHORT "7.0aa" #define VIM_VERSION_MEDIUM "7.0aa ALPHA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Nov 28)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Nov 28, compiled " +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 1)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 1, compiled " |