Commit 678f1e7
committed
feat: enable modal cursor shape in vi mode
When vi = True, users expect the cursor to reflect modal state
(block in NORMAL, beam in INSERT, underline in REPLACE).
ModalCursorShapeConfig exists in prompt_toolkit for exactly this.
Without it, cursor=None resolves to CursorShape._NEVER_CHANGE,
so no DECSCUSR sequences are ever written regardless of mode.1 parent d0a6cc2 commit 678f1e7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
1087 | 1088 | | |
1088 | 1089 | | |
1089 | 1090 | | |
| 1091 | + | |
1090 | 1092 | | |
1091 | 1093 | | |
1092 | 1094 | | |
| |||
0 commit comments