diff --git a/.changeset/term-update-size.md b/.changeset/term-update-size.md new file mode 100644 index 0000000..3aa26ab --- /dev/null +++ b/.changeset/term-update-size.md @@ -0,0 +1,7 @@ +--- +"@bomb.sh/tty": minor +--- + +Adds a new `term.update()` method to resize the terminal without reinitializing the WebAssembly module. + +If you previously ran `createTerm({ width, height })` on resize events, you should replace that with an explicit `term.update({ width, height })` call.