Skip to content

Conversation

tompng
Copy link
Member

@tompng tompng commented Aug 22, 2025

Fix CSI_REGEXP pattern.
Reline::Unicode will handle CSI escape sequence like "\e[1 q" \e[?1234h correctly.
Example inputrc

set show-mode-in-prompt on
set vi-cmd-mode-string "\1\033[1 q\2"
set vi-ins-mode-string "\1\033[5 q\2"

Fixes ruby/irb#1118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Cursor is misaligned on GNOME Terminal in Ubuntu

1 participant