From c84d874e17d99cb5978dbdb1b7052bc452328e0c Mon Sep 17 00:00:00 2001 From: Jonathan Slenders Date: Wed, 25 Sep 2024 10:05:44 +0000 Subject: [PATCH] Fixup for previous cursorshapes commit (#1900). --- src/prompt_toolkit/cursor_shapes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prompt_toolkit/cursor_shapes.py b/src/prompt_toolkit/cursor_shapes.py index cbd8e593f..01d10926a 100644 --- a/src/prompt_toolkit/cursor_shapes.py +++ b/src/prompt_toolkit/cursor_shapes.py @@ -78,7 +78,7 @@ def get_cursor_shape(self, application: Application[Any]) -> CursorShape: InputMode.INSERT_MULTIPLE, }: return CursorShape.BEAM - if application.vi_state.input_mode == { + if application.vi_state.input_mode in { InputMode.REPLACE, InputMode.REPLACE_SINGLE, }: