forked from aniani/vim
patch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is off
Problem: Cursor moves if cmdwin is closed when 'splitscroll' is off.
Solution: Skip win_fix_cursor if called when cmdwin is open or closing.
(Luuk van Baal, closes #11134)
This commit is contained in:
committed by
Bram Moolenaar
parent
aeef1f7f6d
commit
3735f11050
@@ -1737,3 +1737,8 @@ EXTERN int channel_need_redraw INIT(= FALSE);
|
||||
// While executing a regexp and set to OPTION_MAGIC_ON or OPTION_MAGIC_OFF this
|
||||
// overrules p_magic. Otherwise set to OPTION_MAGIC_NOT_SET.
|
||||
EXTERN optmagic_T magic_overruled INIT(= OPTION_MAGIC_NOT_SET);
|
||||
|
||||
#ifdef FEAT_CMDWIN
|
||||
// Skip win_fix_cursor() call for 'nosplitscroll' when cmdwin is closed.
|
||||
EXTERN int skip_win_fix_cursor INIT(= FALSE);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user