# Ghostty VT Terminal - WebAssembly Example

This example demonstrates initializing a terminal, writing VT-encoded data to it, and formatting the output using the Ghostty VT WebAssembly module.

Loading WebAssembly module...

### Terminal Size

Cols: Rows:

### VT Input

Hello, World!\r\n\x1b[1;32mGreen Bold\x1b[0m and \x1b[4mUnderline\x1b[0m\r\nLine 3: placeholder\r\n\x1b[3;1H\x1b[2KLine 3: Overwritten!

Use \x1b for ESC, \r\n for CR+LF. Press "Run" to process.

Waiting for input...

Note: This example must be served via HTTP (not opened directly as a file). See the README for instructions.