mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Use regular expression to strip vt ansi escape codes from display when calulating prompt display width and cursor position Fixes #3860 and #5628.