Root cause of session freeze confirmed: a 15 000-char code block was typed character-by-character via xdotool at 12ms/char = ~3 min, flooding the X11 per-client event buffer until the entire session froze. - paste.py: any text >300 chars or containing newlines auto-upgrades to clipboard paste (instant Ctrl+V) regardless of configured output mode. xdotool type is kept only for short single-line text where it matters. - daemon.py: replace on_token "".join(acc) accumulation (O(n²) for long code blocks) with a sliding deque that shows only the last 400 chars in the overlay — Pango no longer re-lays out a growing 15 KB string on each incoming token. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
383 B
Python
10 lines
383 B
Python
"""Blitztext for Linux — native dictation daemon.
|
|
|
|
Press a global hotkey, speak, and the transcribed (optionally LLM-rewritten)
|
|
text is typed into whatever text field currently has focus. This is the Linux
|
|
counterpart to the macOS Blitztext menu bar app: it runs natively on the host
|
|
(not in a container) so it can type into any application via xdotool.
|
|
"""
|
|
|
|
__version__ = "2.0.1"
|