I've been toying with using vi-{cmd,ins}-mode-string for changing the cursor shape, like so:

$if term=xterm
        set vi-cmd-mode-string "\1\e[2 q\2"
        set vi-ins-mode-string "\1\e[6 q\2"
$endif

These seem to have an implicit dependency on having show-mode-in-prompt enabled, and that causes an issue when using the same inputrc with older readline versions, as the default strings interfere with the prompt.

Any chance these could be made to work as documented, removing the dependency on show-mode-in-prompt?

-Rob

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to