Skip to content

Commit

Permalink
fix typeahead regex for move (#113850)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerLeonhardt authored Jan 5, 2021
1 parent 98f1ed6 commit 6f56b47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const HIDE_CURSOR = `${CSI}?25l`;
const DELETE_CHAR = `${CSI}X`;
const DELETE_REST_OF_LINE = `${CSI}K`;
const CSI_STYLE_RE = /^\x1b\[[0-9;]*m/;
const CSI_MOVE_RE = /^\x1b\[([0-9]*)(;[35])?O?([DC])/;
const CSI_MOVE_RE = /^\x1b\[?([0-9]*)(;[35])?O?([DC])/;
const NOT_WORD_RE = /[^a-z0-9]/i;

const statsBufferSize = 24;
Expand Down

0 comments on commit 6f56b47

Please sign in to comment.