Lagrange [dev]

Improved arrow key focus navigation (relating to InputWidget)

=> Jaakko Keränen

Thu May 16 19:59:02 2024 +0300

Arrow navigation can be disabled when needed for a particular

input widget so it doesn't interfere with text entry.

When entering an input field via arrow key navigation, don't

select all as that might lead to accidentally overwriting the

marked range (i.e., all text).

 src/app.c              |  2 +-
 src/ui/inputwidget.c   | 30 ++++++++++++++++++++++--------
 src/ui/inputwidget.h   |  1 +
 src/ui/sidebarwidget.c |  8 ++++----
 src/ui/uploadwidget.c  |  3 +++
 src/ui/widget.c        | 11 ++++++++++-
 src/ui/widget.h        |  6 ++++++
 7 files changed, 47 insertions(+), 14 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent a5380776 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/dev/commits/bb9ce59f9885baf3acaf569e965bdf8f0525f3e8
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
79.184863 milliseconds
Gemini-to-HTML Time
0.86919 milliseconds

This content has been proxied by September (3851b).