Commit ffcd8b94 authored by Krzysztof Chrapka's avatar Krzysztof Chrapka Committed by Ben Noordhuis
Browse files

readline: strip ctrl chars for prompt width calc

Use regular expression to strip vt ansi escape codes from display when
calulating prompt display width and cursor position

Fixes #3860 and #5628.
parent 212e9cd8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment