hex/src/dictation
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax Raad 389aff0baa fix(windows): stop the HUD timer when nothing draws
Windows' poll armed its next frame from Hex's `animating && shown`, and
`animating` only clears when a frame renders. A show Rune never draws (it
fails, or Hex's flag says shown while Rune has no window) left both flags set,
so the poll asked for another ~60 Hz frame forever, including with Hex idle:
Rune runs a poll at its deadline even while the overlay is hidden.

The poll now arms only while the HUD moves on screen and `last_drawn` is
within `RESHOW_AFTER`, so a reference nothing refreshes ages out and the timer
stops. `Hud` carries `armed`; a meter draws (`update_if` true) only when the
timer isn't armed, still handling the event, and the frame it draws lets the
next poll arm the timer again. A start sets `last_drawn`, which arms the first
frame after its show.

`last_drawn` stays the watchdog's clock; the model's step uses a new
`stepped_at`, set only by a frame that steps it and cleared by `hide` and
`fade_out`, so a show doesn't step by its own latency. The Windows pacing
moves to `rune_hud/windows_pacing.rs`.

Labs' special-keys summary now names the keys its own OS has, with the Windows
sentence translated, and the website keeps its platform-neutral line.
2026-11-14 15:43:53 -05:00
..
apple_cleanup.rs labs: clean up dictations with apple intelligence (#1814) 2026-11-13 23:51:47 -05:00
audio.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
browser_page.rs Meetings: read Arc's page through Accessibility when Automation is off (#831) (#833) 2026-11-01 08:57:15 -05:00
caret_prompt.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
caret_text.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
config.rs fix(dictation): share correction order and keep stop-time context (t1534) 2026-11-12 12:48:45 -08:00
context.rs feat(labs): let the rewrite read text around the cursor (macOS) (#1815) 2026-11-13 23:36:24 -05:00
corpus_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
diagnostics.rs refactor: derive hand-kept lists and literals from one source (t1539) (#1749) 2026-11-12 11:58:11 -08:00
filler_words.rs only remove filler words from english dictation (#1492) 2026-11-07 11:26:30 -05:00
indicator.rs fix(windows): stop the HUD timer when nothing draws 2026-11-14 15:43:53 -05:00
live_text.rs feat(windows): /dictations records with Hex's own microphone, and a dictation can stream its live text (#1474) 2026-11-07 16:21:52 -06:00
modes.rs fix(dictation): share correction order and keep stop-time context (t1534) 2026-11-12 12:48:45 -08:00
processor.rs labs: clean up dictations with apple intelligence (#1814) 2026-11-13 23:51:47 -05:00
screen_vocabulary.rs labs: screen vocabulary (macos) (#1719) 2026-11-12 07:43:56 -05:00
service.rs fix: query recording owners and unify transformation startup (t1549) (#1760) 2026-11-12 17:56:25 -08:00
spoken_formatting.rs Fix #1167: dictation text post-processing (spoken quote/unquote keywords) (#1169) 2026-11-03 12:27:07 -05:00
spoken_symbols.rs Fix #1040: spoken symbols and spoken formatting commands (#1041) 2026-11-02 11:39:43 -05:00
tail_tests.rs Fold dictation_* into dictation/ 2026-10-31 15:13:56 -07:00
text_replacements.rs Fold dictation pipeline modules into dictation/ 2026-10-31 16:12:40 -07:00
vocabulary.rs labs: screen vocabulary (macos) (#1719) 2026-11-12 07:43:56 -05:00
voice_prompt.rs labs: voice prompt, speak an instruction to rewrite one dictation (#1716) 2026-11-12 07:18:02 -05:00
yolo_mode.rs Keep dictating through Return, cancel a held dictation with Escape, and let Escape stop a YOLO send (t1561) (#1817) 2026-11-13 21:17:12 -08:00