Commit 077b037
committed
fix(tui): critical fixes for mouse garble, spinner verbs, logo, tokens
Critical fixes:
- Remove EnableMouseCapture — mouse events were being interpreted
as keyboard input, causing garbled text in input box
- Remove EnableFocusChange — extra escape sequences caused issues
- Keep EnableBracketedPaste only (safe, useful for multi-line paste)
Spinner verbs:
- Replace spinner.start("Thinking...") with start_with_random_verb()
- Use clear_override() after tool result to return to random verb
- Tool execution shows "Running {name}..." as override
Logo:
- Replace Unicode block chars (inconsistent terminal widths) with
ASCII-safe crab art: /| o o |\ for reliable alignment
Token display:
- Remove inline token counts from conversation content buffer
- Tokens only shown in status bar (total_input/output_tokens fields)1 parent 0ef07c0 commit 077b037
2 files changed
Lines changed: 14 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | 574 | | |
588 | 575 | | |
589 | 576 | | |
590 | | - | |
| 577 | + | |
591 | 578 | | |
592 | 579 | | |
593 | 580 | | |
594 | 581 | | |
595 | | - | |
| 582 | + | |
596 | 583 | | |
597 | 584 | | |
598 | 585 | | |
| |||
804 | 791 | | |
805 | 792 | | |
806 | 793 | | |
807 | | - | |
| 794 | + | |
808 | 795 | | |
809 | 796 | | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
| 797 | + | |
817 | 798 | | |
818 | | - | |
819 | | - | |
820 | | - | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
821 | 802 | | |
822 | | - | |
823 | | - | |
| 803 | + | |
824 | 804 | | |
825 | 805 | | |
826 | | - | |
| 806 | + | |
827 | 807 | | |
828 | 808 | | |
829 | 809 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 156 | + | |
166 | 157 | | |
167 | 158 | | |
168 | 159 | | |
| |||
194 | 185 | | |
195 | 186 | | |
196 | 187 | | |
197 | | - | |
198 | | - | |
199 | 188 | | |
200 | 189 | | |
201 | 190 | | |
| |||
0 commit comments