File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -964,16 +964,11 @@ exports.emitKeypressEvents = emitKeypressEvents;
964964
965965// Regexes used for ansi escape code splitting
966966const metaKeyCodeReAnywhere = / (?: \x1b ) ( [ a - z A - Z 0 - 9 ] ) / ;
967- const metaKeyCodeRe = new RegExp ( '^' + metaKeyCodeReAnywhere . source + '$' ) ;
968967const functionKeyCodeReAnywhere = new RegExp ( '(?:\x1b+)(O|N|\\[|\\[\\[)(?:' + [
969968 '(\\d+)(?:;(\\d+))?([~^$])' ,
970969 '(?:M([@ #!a`])(.)(.))' , // mouse
971970 '(?:1;)?(\\d+)?([a-zA-Z])'
972971] . join ( '|' ) + ')' ) ;
973- const functionKeyCodeRe = new RegExp ( '^' + functionKeyCodeReAnywhere . source ) ;
974- const escapeCodeReAnywhere = new RegExp ( [
975- functionKeyCodeReAnywhere . source , metaKeyCodeReAnywhere . source , / \x1b ./ . source
976- ] . join ( '|' ) ) ;
977972
978973
979974function * emitKeys ( stream ) {
You can’t perform that action at this time.
0 commit comments