We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sindresorhus
Qix-
Learn more about funding links in repositories.
Report abuse
1 parent 14839a4 commit 385eca9Copy full SHA for 385eca9
fixtures/ansi-codes.js
@@ -10,6 +10,8 @@ exports.vt52Codes = new Map([
10
['I', ['Reverse line feed']],
11
['J', ['Erase to end of screen']],
12
['K', ['Erase to end of line']],
13
+ ['S', ['Scroll up']],
14
+ ['T', ['Scroll down']],
15
['Z', ['Identify']],
16
['=', ['Enter alternate keypad mode']],
17
['>', ['Exit alternate keypad mode']],
index.js
@@ -3,7 +3,7 @@
3
module.exports = () => {
4
const pattern = [
5
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)',
6
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))'
+ '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
7
].join('|');
8
9
return new RegExp(pattern, 'g');
0 commit comments