Lagrange [work/v1.8]

Handling keys while navigating via home row

=> Jaakko Keränen

Wed Jan 5 08:40:53 2022 +0200

When navigating via home row, ensure that other widgets will not trigger when keys are pressed. The document is given keyboard focus even though it is not flagged as focusable, to make sure it gets to handle all the keys first.

On macOS, disable all native menu items that have a home row keyboard shortcut.

Also on macOS, disable all native menus when changing bindings.

IssueID #419

 src/macos.h             |  2 ++
 src/macos.m             | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/ui/bindingswidget.c |  6 +++++-
 src/ui/documentwidget.c | 20 +++++++++++++++-----
 src/ui/widget.c         | 10 +++++++++-
 src/ui/widget.h         |  3 ++-
 6 files changed, 82 insertions(+), 8 deletions(-)

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

=> Parent 31312b7a | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/commits/32cbf877ac137b28eb41a9084717707907c02d94
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
66.136755 milliseconds
Gemini-to-HTML Time
0.645339 milliseconds

This content has been proxied by September (ba2dc).