Skip to content

Commit 2c50a93

Browse files
Daniel LangeDaniel Lange
authored andcommitted
Merge branch 'extend-tree-panning-keybindings-for-urxvt' of fasterit/htop
2 parents 31b1a15 + 0f86fd3 commit 2c50a93

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CRT.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,10 @@ IGNORE_WCASTQUAL_END
12631263
}
12641264
if (termType && (String_startsWith(termType, "rxvt"))) {
12651265
define_key("\033[Z", KEY_SHIFT_TAB);
1266+
define_key("\033[a", KEY_SR); // SR = scroll reverse, Shift-UP
1267+
define_key("\033[b", KEY_SF); // SF = scroll forward, Shift-DOWN
1268+
define_key("\033\033[A", KEY_SR); // SR = scroll reverse, Alt-UP
1269+
define_key("\033\033[B", KEY_SF); // SF = scroll forward, Alt-DOWN
12661270
}
12671271

12681272
CRT_installSignalHandlers();

0 commit comments

Comments
 (0)