bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] vi-{cmd,ins}-mode-string and show-mode-in-prompt


From: Rob Foehl
Subject: [Bug-readline] vi-{cmd,ins}-mode-string and show-mode-in-prompt
Date: Wed, 6 Dec 2017 23:46:00 -0500 (EST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]