Skip to content

Commit 500eba0

Browse files
committed
Restore cursor shape behaviour for Emacs mode
1 parent 0797904 commit 500eba0

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Upcoming (TBD)
2+
==============
3+
4+
Bug fixes:
5+
----------
6+
* Restore cursor shape behaviour for Emacs mode
7+
18
4.5.0 (2026-06-02)
29
==================
310

pgcli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ def get_continuation(width, line_number, is_soft_wrap):
10991099
enable_suspend=True,
11001100
editing_mode=EditingMode.VI if self.vi_mode else EditingMode.EMACS,
11011101
search_ignore_case=True,
1102-
cursor=ModalCursorShapeConfig(),
1102+
cursor=ModalCursorShapeConfig() if self.vi_mode else None,
11031103
)
11041104

11051105
return prompt_app

0 commit comments

Comments
 (0)