Parch

Keyboard interaction

Every Parch application must be fully operable without a pointer. This is an accessibility requirement and a power-user feature at once.

Focus

  • Focus order follows visual order; focus is always visible.
  • Dialogs trap focus; popovers return it on close.
  • Tab moves between controls; arrow keys move within composite controls (lists, tabs, radio groups, menus).
  • Persian keyboard layouts are first-class: shortcut detection uses key positions (keycode), not typed characters, so shortcuts work identically on فارسی layouts.

Standard shortcuts

KeysAction
Ctrl+FFind / search in app
F1Help / documentation
Ctrl+,Preferences
Ctrl+QQuit
Ctrl+WClose window/tab
Ctrl+Z / Shift+ZUndo / redo
F5 / Ctrl+RRefresh
DeleteMove selection to trash (never permanent)
EscCancel dialog, popover, or in-progress selection

Rules

  • App-specific shortcuts extend, never override, the standard set.
  • Shortcuts are discoverable: menus show them; a shortcuts window (Ctrl+?) lists all.
  • No single-key shortcuts except in modal contexts (package managers may use keys in a TUI; GUIs may not).
  • Media and function keys follow the desktop's global bindings.