2.0 KiB
2.0 KiB
send-rs src/config.rs — default keymap and input limits
Metadata
| Field | Value |
|---|---|
| Institute | Molodetz Institute — Research & Retrieval Division |
| Subject | tui-framework-design |
| Document type | Source Dossier |
| Tier | 1 |
| Source title | send-rs src/config.rs — configuration defaults (WhatsApp+Telegram ratatui client) |
| Source URL | https://raw.githubusercontent.com/pedromarquetti/send-rs/master/src/config.rs |
| Source publisher / author | pedromarquetti (send-rs / Sender project) |
| Source type | repository |
| Source date (published) | Unknown — not stated |
| Date researched | 2026-10-11 |
| Researched by | tai (agent), model: Muse Spark, on behalf of retoor |
| Research method | direct page fetch |
| Confidence | Medium |
| Status | Active |
Summary
Default keybindings and input limits for a ratatui messaging client: Tab/Shift+Tab cycle panes, i focuses the write box, Enter selects/sends, with the write box capped at 5 visual lines. A thin source, but the defaults are the finding.
Key findings
- Default pane keys: Tab / Shift+Tab cycle focus,
ifocuses the write box, Enter selects or sends, Shift+Enter inserts a newline, Esc dismisses, Ctrl+C quits. - Chat navigation uses
j/k/g/Gfor scroll and top/bottom;/searches,sopens settings. - Write-box height is capped by
max_write_lines = 5.
Pros / strengths
- Sensible, conventional defaults (vim-ish navigation plus Tab cycling) that need no invention to adopt.
- The 5-line input cap is a concrete number for a growing input box.
Cons / limitations / caveats
- Keymap defaults only; no rationale is given for any choice, and configurability mechanics were not part of the inspected evidence.
Relevance to tai
- Supplies the default keybindings (Tab cycle,
i/Enter/Esc, Shift+Enter newline) and the 5-line input cap adopted in the messaging-layout conclusion.
Changelog
| Date | Change |
|---|---|
| 2026-10-11 | Initial dossier created from 2026-10-11 research-pass evidence (body opened via web_fetch by researching agent). |