summaryrefslogtreecommitdiff
path: root/main_test.go
AgeCommit message (Collapse)Author
5 dayscut screen, per-sentence colour alternation, no one-character last framewuhei
- Backspace/Delete/c in the kiosk: the screen goes red, the recogniser is reset and the in-progress sentence is dropped, so a misheard sentence can be said again. It returns to the normal colours as soon as the retake is heard. Under -record the red frame also marks the retake in the video. - colours alternate black-on-white / white-on-black at each sentence boundary. - slide cutting no longer leaves a stub: a length break needs -preview characters to remain, so '我自学中文已经五年了。' shows as one phrase instead of '了'. - translation window default 40 chars (was 28): fragments cut mid-clause were producing odd English. - tests for slide cutting, colour flip, cut, and the sticky English line