If you want to embed a real terminal in your app without pulling in all of Ghostty, this shows you how to wire up libghostty-vt's C API. It's a single-file example using Raylib for rendering, and the skill walks through the actual patterns: writing PTY data into the terminal state, encoding keyboard input to escape sequences, iterating the render state API to draw only dirty cells, and handling resize with reflow. The render state iterator is the interesting part, it tells you exactly which cells changed and hands you RGB colors and Unicode codepoints ready to draw. You still own PTY setup and windowing, but you get SIMD VT parsing and proper terminal state management. Good reference if you're building a custom UI that needs a terminal widget.
npx skills add https://github.com/aradotso/trending-skills --skill ghostling-libghostty-terminal