Make the special keys bar configurable #1

Open
opened 2026-07-15 12:21:37 +01:00 by pedromcaraujo · 0 comments

The mobile/touch special keys bar is hardcoded. The KEYS array lives in web/index.html:944 (Esc / Tab / Enter / arrows / Home / End / PgUp / PgDn) and there's no module option to change it.

Deployers can't add, remove, or reorder keys — e.g. someone who wants a ^C chord, function keys, or a different arrow layout has to patch the SPA.

Goal: expose the keybar layout through myServices.forge (per-deployment, possibly per-channel) so the served KEYS set is driven by config rather than baked into index.html.

  • Keys map to /keys ids (see KEY_MAP in web/tmux_ctl.py), so the option needs to reference those ids or allow raw send-keys sequences.
  • Keep the current set as the default.
The mobile/touch **special keys bar** is hardcoded. The `KEYS` array lives in `web/index.html:944` (Esc / Tab / Enter / arrows / Home / End / PgUp / PgDn) and there's no module option to change it. Deployers can't add, remove, or reorder keys — e.g. someone who wants a `^C` chord, function keys, or a different arrow layout has to patch the SPA. **Goal:** expose the keybar layout through `myServices.forge` (per-deployment, possibly per-channel) so the served `KEYS` set is driven by config rather than baked into `index.html`. - Keys map to `/keys` ids (see `KEY_MAP` in `web/tmux_ctl.py`), so the option needs to reference those ids or allow raw send-keys sequences. - Keep the current set as the default.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pedromcaraujo/forge#1
No description provided.