Skip to content

Commit aa59140

Browse files
committed
[app] fix the key constants being in the wrong block (ugh. whoops)
1 parent b93ea53 commit aa59140

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

NewTerm/HBNTTerminalKeyInput.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ - (instancetype)init {
5959

6060
_ctrlKey = _toolbar.ctrlKey;
6161
_metaKey = _toolbar.metaKey;
62-
63-
_backspaceData = [NSData dataWithBytes:"\x7F" length:1];
64-
_tabKeyData = [NSData dataWithBytes:"\t" length:1];
65-
_upKeyData = [NSData dataWithBytes:"\e[A" length:3];
66-
_downKeyData = [NSData dataWithBytes:"\e[B" length:3];
67-
_leftKeyData = [NSData dataWithBytes:"\e[D" length:3];
68-
_rightKeyData = [NSData dataWithBytes:"\e[C" length:3];
6962
}
63+
64+
_backspaceData = [NSData dataWithBytes:"\x7F" length:1];
65+
_tabKeyData = [NSData dataWithBytes:"\t" length:1];
66+
_upKeyData = [NSData dataWithBytes:"\e[A" length:3];
67+
_downKeyData = [NSData dataWithBytes:"\e[B" length:3];
68+
_leftKeyData = [NSData dataWithBytes:"\e[D" length:3];
69+
_rightKeyData = [NSData dataWithBytes:"\e[C" length:3];
7070
}
7171

7272
return self;

0 commit comments

Comments
 (0)