aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 11:54:31 +0100
committereunhhu <[email protected]>2026-09-26 11:54:31 +0100
commit932df09ea211a83a24210d821dc3d0093ed73561 (patch)
tree471aeb39316bd4b974e52495b811ae2c7ff8d2c7 /docs
parent0d5effd6afe8808296a01db102ca4c247cdcd1af (diff)
downloadvega-932df09ea211a83a24210d821dc3d0093ed73561.tar.gz
vega-932df09ea211a83a24210d821dc3d0093ed73561.zip
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/design/001-first-component.md2
1 files changed, 1 insertions, 1 deletions
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`)