From 932df09ea211a83a24210d821dc3d0093ed73561 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sat, 26 Sep 2026 11:54:31 +0100 Subject: Restate the bytes a changed frame sends The todo example now counts its open tasks, so the field line changes with more events; a changed frame sends 143 B on average, not 139 B. --- docs/design/001-first-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/design') diff --git a/docs/design/001-first-component.md b/docs/design/001-first-component.md index 50a516d..5d1adce 100644 --- a/docs/design/001-first-component.md +++ b/docs/design/001-first-component.md @@ -91,7 +91,7 @@ TUI는 매 변경마다 격자를 앱에서 다시 그리지만(보이는 칸만 `vega tui app.pmod --paint WxH`는 스크립트의 `show`마다 터미널로 보낼 바이트를 낸다. 검사는 그 바이트를 작은 터미널 에뮬레이터로 재생해 `--dump`의 화면과 프레임마다 비교한다(커서 이동, 지우기, 색·반전, 두 칸 글자, 결합 문자). 무작위 입력 4,800 프레임(40×12, 24×9, 80×30)에서 모두 같았다. 한 프레임이 보내는 바이트는 평균 1,220 B(전체)에서 -139 B(변경분)로 줄었다. SSH처럼 느린 터미널에서 입력 한 번의 화면 갱신이 그만큼 가볍다. +143 B(변경분)로 줄었다. SSH처럼 느린 터미널에서 입력 한 번의 화면 갱신이 그만큼 가볍다. ## 규약 검사 (`vega check`) -- cgit v1.2.3