mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
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
This commit is contained in:
@@ -10,7 +10,10 @@ import java.util.Map;
|
|||||||
public class ExtraKeysConstants {
|
public class ExtraKeysConstants {
|
||||||
|
|
||||||
/** Defines the repetitive keys that can be passed to {@link ExtraKeysView#setRepetitiveKeys(List)}. */
|
/** Defines the repetitive keys that can be passed to {@link ExtraKeysView#setRepetitiveKeys(List)}. */
|
||||||
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList("UP", "DOWN", "LEFT", "RIGHT", "BKSP", "DEL");
|
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList(
|
||||||
|
"UP", "DOWN", "LEFT", "RIGHT",
|
||||||
|
"BKSP", "DEL",
|
||||||
|
"PGUP", "PGDN");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user