Skip to content

Fix prompt width calculation bug - #695

Merged
ima1zumi merged 1 commit into
ruby:masterfrom
tompng:colored_prompt_bugfix
May 2, 2024
Merged

ima1zumi merged 1 commit into
ruby:masterfrom
tompng:colored_prompt_bugfix

Conversation

@tompng

@tompng tompng commented May 1, 2024

Copy link
Copy Markdown
Member

Fix this bug (reline-0.5.3). Prompt width calculation was wrong when it contains escape sequence.
prompt_miscalculation_wordwrap_bug

@ima1zumi ima1zumi added the bug Something isn't working label May 2, 2024

@ima1zumi ima1zumi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ima1zumi
ima1zumi merged commit 24aab01 into ruby:master May 2, 2024
@tompng
tompng deleted the colored_prompt_bugfix branch May 2, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants