Skip to content

Commit d5be56e

Browse files
committed
refactor(term): make applyUpdate module-private
The terminfo spec no longer lists applyUpdate as public API; update() is the only entry point, and tests already exercise it through term.update().
1 parent 6e92950 commit d5be56e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎term.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export type Update = { width: number; height: number } | InputEvent;
4343
* Apply one Update to the current RuntimeCapabilities and return the next
4444
* snapshot plus any bytes to write now. Pure: performs no IO, no WASM calls.
4545
*/
46-
export function applyUpdate(
46+
function applyUpdate(
4747
current: RuntimeCapabilities,
4848
change: Update,
4949
): { readonly next: RuntimeCapabilities; readonly bytes: Uint8Array } {

0 commit comments

Comments
 (0)