Mercurial > vim
comparison src/globals.h @ 14129:cb731d098241 v8.1.0082
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
commit https://github.com/vim/vim/commit/1d4754f96fa5bff1c349cdb71560c55675f50d03
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 19 17:49:24 2018 +0200
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jun 2018 18:00:07 +0200 |
parents | e124262d435e |
children | 7cac4646c552 |
comparison
equal
deleted
inserted
replaced
14128:09afa19020db | 14129:cb731d098241 |
---|---|
369 EXTERN int highlight_stlterm[9]; /* On top of user */ | 369 EXTERN int highlight_stlterm[9]; /* On top of user */ |
370 EXTERN int highlight_stltermnc[9]; /* On top of user */ | 370 EXTERN int highlight_stltermnc[9]; /* On top of user */ |
371 # endif | 371 # endif |
372 # endif | 372 # endif |
373 #endif | 373 #endif |
374 #ifdef FEAT_TERMINAL | |
375 // When TRUE skip calling terminal_loop() once. Used when | |
376 // typing ':' at the more prompt. | |
377 EXTERN int skip_term_loop INIT(= FALSE); | |
378 #endif | |
374 #ifdef FEAT_GUI | 379 #ifdef FEAT_GUI |
375 EXTERN char_u *use_gvimrc INIT(= NULL); /* "-U" cmdline argument */ | 380 EXTERN char_u *use_gvimrc INIT(= NULL); /* "-U" cmdline argument */ |
376 #endif | 381 #endif |
377 EXTERN int cterm_normal_fg_color INIT(= 0); | 382 EXTERN int cterm_normal_fg_color INIT(= 0); |
378 EXTERN int cterm_normal_fg_bold INIT(= 0); | 383 EXTERN int cterm_normal_fg_bold INIT(= 0); |