Skip to content

Commit fa710c4

Browse files
Changed: Add PGUP and PGDN extra keys to repetitive keys so that long holding them triggers page scrolling instead of having to repeatedly press the key to change pages
1 parent 5b5e719 commit fa710c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

termux-shared/src/main/java/com/termux/shared/terminal/io/extrakeys/ExtraKeysConstants.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
public class ExtraKeysConstants {
1111

1212
/** Defines the repetitive keys that can be passed to {@link ExtraKeysView#setRepetitiveKeys(List)}. */
13-
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList("UP", "DOWN", "LEFT", "RIGHT", "BKSP", "DEL");
13+
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList(
14+
"UP", "DOWN", "LEFT", "RIGHT",
15+
"BKSP", "DEL",
16+
"PGUP", "PGDN");
1417

1518

1619

0 commit comments

Comments
 (0)