14
14
import java .util .Set ;
15
15
16
16
/*
17
- * Version: v0.14 .0
17
+ * Version: v0.15 .0
18
18
*
19
19
* Changelog
20
20
*
63
63
*
64
64
* - 0.14.0 (2021-09-02)
65
65
* - Add `getTermuxFloatPropertiesFile()`.
66
+ *
67
+ * - 0.15.0 (2021-09-05)
68
+ * - Add `KEY_EXTRA_KEYS_TEXT_ALL_CAPS`.
66
69
*/
67
70
68
71
/**
@@ -94,6 +97,11 @@ public final class TermuxPropertyConstants {
94
97
95
98
96
99
100
+ /** Defines the key for whether text for the extra keys buttons should be all capitalized automatically */
101
+ public static final String KEY_EXTRA_KEYS_TEXT_ALL_CAPS = "extra-keys-text-all-caps" ; // Default: "extra-keys-text-all-caps"
102
+
103
+
104
+
97
105
/** Defines the key for whether to hide soft keyboard when termux app is started */
98
106
public static final String KEY_HIDE_SOFT_KEYBOARD_ON_STARTUP = "hide-soft-keyboard-on-startup" ; // Default: "hide-soft-keyboard-on-startup"
99
107
@@ -324,6 +332,7 @@ public final class TermuxPropertyConstants {
324
332
KEY_DISABLE_HARDWARE_KEYBOARD_SHORTCUTS ,
325
333
KEY_DISABLE_TERMINAL_SESSION_CHANGE_TOAST ,
326
334
KEY_ENFORCE_CHAR_BASED_INPUT ,
335
+ KEY_EXTRA_KEYS_TEXT_ALL_CAPS ,
327
336
KEY_HIDE_SOFT_KEYBOARD_ON_STARTUP ,
328
337
KEY_TERMINAL_ONCLICK_URL_OPEN ,
329
338
KEY_USE_BLACK_UI ,
@@ -358,12 +367,12 @@ public final class TermuxPropertyConstants {
358
367
KEY_VOLUME_KEYS_BEHAVIOUR
359
368
));
360
369
361
- /** Defines the set for keys loaded by termux that have default boolean behaviour
370
+ /** Defines the set for keys loaded by termux that have default boolean behaviour with false as default.
362
371
* "true" -> true
363
372
* "false" -> false
364
373
* default: false
365
- * * /
366
- public static final Set <String > TERMUX_DEFAULT_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
374
+ */
375
+ public static final Set <String > TERMUX_DEFAULT_FALSE_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
367
376
KEY_DISABLE_HARDWARE_KEYBOARD_SHORTCUTS ,
368
377
KEY_DISABLE_TERMINAL_SESSION_CHANGE_TOAST ,
369
378
KEY_ENFORCE_CHAR_BASED_INPUT ,
@@ -375,17 +384,35 @@ public final class TermuxPropertyConstants {
375
384
TermuxConstants .PROP_ALLOW_EXTERNAL_APPS
376
385
));
377
386
378
- /** Defines the set for keys loaded by termux that have default inverted boolean behaviour
387
+ /** Defines the set for keys loaded by termux that have default boolean behaviour with true as default.
388
+ * "true" -> true
389
+ * "false" -> false
390
+ * default: true
391
+ */
392
+ public static final Set <String > TERMUX_DEFAULT_TRUE_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
393
+ KEY_EXTRA_KEYS_TEXT_ALL_CAPS
394
+ ));
395
+
396
+ /** Defines the set for keys loaded by termux that have default inverted boolean behaviour with false as default.
397
+ * "false" -> true
398
+ * "true" -> false
399
+ * default: false
400
+ */
401
+ public static final Set <String > TERMUX_DEFAULT_INVERETED_FALSE_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
402
+ ));
403
+
404
+ /** Defines the set for keys loaded by termux that have default inverted boolean behaviour with true as default.
379
405
* "false" -> true
380
406
* "true" -> false
381
407
* default: true
382
- * * /
383
- public static final Set <String > TERMUX_DEFAULT_INVERETED_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
408
+ */
409
+ public static final Set <String > TERMUX_DEFAULT_INVERETED_TRUE_BOOLEAN_BEHAVIOUR_PROPERTIES_LIST = new HashSet <>(Arrays .asList (
384
410
));
385
411
386
412
387
413
388
414
415
+
389
416
/** Returns the first {@link File} found at
390
417
* {@link TermuxConstants#TERMUX_PROPERTIES_PRIMARY_FILE_PATH} or
391
418
* {@link TermuxConstants#TERMUX_PROPERTIES_SECONDARY_FILE_PATH}
0 commit comments