We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9eb649 commit 51224f1Copy full SHA for 51224f1
1 file changed
test/simple/test-readline.js
@@ -16,6 +16,10 @@ var key = {
16
rxvt: {
17
home: [27, 91, 55],
18
end: [27, 91, 56]
19
+ },
20
+ putty: {
21
+ home: [27, 91, 49, 126],
22
+ end: [27, 91, 52, 126]
23
}
24
};
25
@@ -49,6 +53,10 @@ rl.write(key.gnome.home);
49
53
assert.equal(0, rl.cursor);
50
54
rl.write(key.gnome.end);
51
55
assert.equal(3, rl.cursor);
56
+rl.write(key.putty.home);
57
+assert.equal(0, rl.cursor);
58
+rl.write(key.putty.end);
59
+assert.equal(3, rl.cursor);
52
60
61
rl = readlineFakeStream();
62
rl.write('foo bar.hop/zoo');
0 commit comments