summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-01-03 07:43:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-01-03 07:43:56 +0200
commite3d8f675f76e86738b25a344b1c087f64bbc8ac3 (patch)
tree6921cb345f75835fc5f4a33a5e602d83a82768d8 /src/app.c
parent0d1bc0e469e8ca4b2cd3d269974c964e0f2916b0 (diff)
Android: Default return key behavior is to insert a newline
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 1e66c6cf..7497d6f8 100644
--- a/src/app.c
+++ b/src/app.c
@@ -404,6 +404,12 @@ static void loadPrefs_App_(iApp *d) {
404 insert_StringSet(d->prefs.disabledFontPacks, 404 insert_StringSet(d->prefs.disabledFontPacks,
405 collect_String(suffix_Command(cmd, "id"))); 405 collect_String(suffix_Command(cmd, "id")));
406 } 406 }
407#if defined (iPlatformAndroidMobile)
408 else if (equal_Command(cmd, "returnkey.set")) {
409 /* Hardcoded to avoid accidental presses of the virtual Return key. */
410 d->prefs.returnKey = default_ReturnKeyBehavior;
411 }
412#endif
407#if !defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT) 413#if !defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT)
408 else if (equal_Command(cmd, "downloads")) { 414 else if (equal_Command(cmd, "downloads")) {
409 continue; /* can't change downloads directory */ 415 continue; /* can't change downloads directory */