[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty

♻️ derive struct offsets from typedef declarations master

Add typedef.ts (ported from clayscript) for declarative C struct layout computation. Replace hand-written offset constants in input-native.ts with offsets derived from the struct definition, eliminating manual offset math while keeping direct DataView access for V8 performance.


+150 -16
2 changed files