File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -365,12 +365,7 @@ def do(self) -> None:
365365 r = self .reader
366366 text = self .event * r .get_arg ()
367367 r .insert (text )
368- if (
369- len (text ) == 1 and
370- r .pos == len (r .buffer ) and
371- not r .cmpltn_menu_visible and # type: ignore[attr-defined]
372- not r .cmpltn_message_visible # type: ignore[attr-defined]
373- ):
368+ if len (text ) == 1 and r .pos == len (r .buffer ):
374369 r .calc_screen = r .append_to_screen
375370
376371
Original file line number Diff line number Diff line change @@ -210,6 +210,9 @@ def do(self) -> None:
210210
211211 commands .self_insert .do (self )
212212
213+ if r .cmpltn_menu_visible or r .cmpltn_message_visible :
214+ r .calc_screen = r .calc_complete_screen
215+
213216 if r .cmpltn_menu_visible :
214217 stem = r .get_stem ()
215218 if len (stem ) < 1 :
You can’t perform that action at this time.
0 commit comments