comparison src/getchar.c @ 988:cec8b867838b v7.0.114

updated for version 7.0-114
author vimboss
date Tue, 03 Oct 2006 13:36:13 +0000
parents e88950f0d4f6
children e14d0a530351
comparison
equal deleted inserted replaced
987:e625dad74346 988:cec8b867838b
1958 c = ESC; 1958 c = ESC;
1959 else 1959 else
1960 c = Ctrl_C; 1960 c = Ctrl_C;
1961 flush_buffers(TRUE); /* flush all typeahead */ 1961 flush_buffers(TRUE); /* flush all typeahead */
1962 1962
1963 /* Also record this character, it might be needed to 1963 if (advance)
1964 * get out of Insert mode. */ 1964 {
1965 *typebuf.tb_buf = c; 1965 /* Also record this character, it might be needed to
1966 gotchars(typebuf.tb_buf, 1); 1966 * get out of Insert mode. */
1967 *typebuf.tb_buf = c;
1968 gotchars(typebuf.tb_buf, 1);
1969 }
1967 cmd_silent = FALSE; 1970 cmd_silent = FALSE;
1968 1971
1969 break; 1972 break;
1970 } 1973 }
1971 else if (typebuf.tb_len > 0) 1974 else if (typebuf.tb_len > 0)