diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-03 07:43:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-03 07:43:56 +0200 |
commit | e3d8f675f76e86738b25a344b1c087f64bbc8ac3 (patch) | |
tree | 6921cb345f75835fc5f4a33a5e602d83a82768d8 /src/app.c | |
parent | 0d1bc0e469e8ca4b2cd3d269974c964e0f2916b0 (diff) |
Android: Default return key behavior is to insert a newline
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |