diff options
Diffstat (limited to 'util/ansi.js')
-rw-r--r-- | util/ansi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ansi.js b/util/ansi.js index f921349..d4ed71d 100644 --- a/util/ansi.js +++ b/util/ansi.js @@ -157,7 +157,7 @@ const ansi = { // codes (by not including them in the returned width). if (text.includes(ESC)) { - text = text.replace(new RegExp(ESC + '\\[\\??[0-9]*.', 'g'), '') + text = text.replace(new RegExp(ESC + '\\[\\??[0-9;]*.', 'g'), '') } return wcwidth(text) |