example/c-vt-stream

This commit is contained in:
Mitchell Hashimoto
2026-03-28 18:32:49 -07:00
parent 0f6e733f8c
commit 741f1d129a
5 changed files with 163 additions and 0 deletions

View File

@@ -34,6 +34,10 @@ extern "C" {
* Once a terminal session is up and running, you can configure a key encoder
* to write keyboard input via ghostty_key_encoder_setopt_from_terminal().
*
* ### Example: VT stream processing
* @snippet c-vt-stream/src/main.c vt-stream-init
* @snippet c-vt-stream/src/main.c vt-stream-write
*
* ## Effects
*
* By default, the terminal sequence processing with ghostty_terminal_vt_write()