Skip to content

Commit

Permalink
[contour] Fixes cursor shape changes when entering vi-like normal mod…
Browse files Browse the repository at this point in the history
…e or visual mode

Signed-off-by: Christian Parpart <[email protected]>
  • Loading branch information
christianparpart committed May 26, 2023
1 parent 8bfdbec commit ae4bae3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
<li>Fixes statusline being misplaced after resize when being in alt screen (#1091).</li>
<li>Fixes hyperlinks with IDs (#1088)</li>
<li>Fixes hyperlink highlight when screen has been scrolled (#1084)</li>
<li>Fixes cursor shape changes when entering vi-like normal mode or visual mode.</li>
<li>Improves mouse selection to be more natural extending into new grid cells.</li>
<li>Modal mode: Improves how `[m` jumps from the current prompt to the next prompt above it.</li>
<li>Adds `profiles.*.permissions.display_host_writable_statusline` to allow the user to intervene in `DECSSDT 2` VT sequence to show the host writable statusline.</li>
Expand Down
2 changes: 1 addition & 1 deletion src/contour/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ namespace
parseCursorConfig(visualModeNode["cursor"], _usedKeys, basePath + ".visual_mode.cursor"))
{
_usedKeys.emplace(basePath + ".visual_mode.cursor");
profile.inputModes.normal.cursor = cursorOpt.value();
profile.inputModes.visual.cursor = cursorOpt.value();
}
}

Expand Down

0 comments on commit ae4bae3

Please sign in to comment.