Skip to content

Commit ccfdd01

Browse files
Carreaumeeseeksmachine
authored andcommitted
Backport PR ipython#14823: Fix accept invisible completions
1 parent 8a57833 commit ccfdd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IPython/terminal/shortcuts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def create_identifier(handler: Callable):
203203
Binding(
204204
auto_suggest.accept,
205205
["right"],
206-
"has_suggestion & default_buffer_focused & emacs_like_insert_mode",
206+
"has_suggestion & default_buffer_focused & emacs_like_insert_mode & is_cursor_at_the_end_of_line",
207207
),
208208
Binding(
209209
auto_suggest.accept_word,

0 commit comments

Comments
 (0)