Benjamin Poldrack đã retweet

First of its kind? New feature in Ghostty: a web-inspector-style "terminal inspector" targeted at CLI, TUI developers. Built right into the terminal, you can see a live view of terminal state, keyboard events, escape sequences, and much much more. 👻💖 Video tour below.
Similar to Firebug with Firefox, I'm hoping this helps usher in a new era of develop-ability for terminal applications by making it much much easier to understand what is going on.
When the inspector is not in use, there is no perceivable performance impact (benchmarks show the same). When the inspector is in use, the terminal it is inspecting slows down to about half speed due to the overhead. But this only impacts the terminal being inspected.
This is a really early version of the inspector. The data organization is kind of messy, its mostly read-only information right now, and there is a lot more information I want to surface. The next step is making a lot of this data read-write so you can actually modify the terminal live (similar to modifying HTML/CSS live in a web inspector) to trial-and-error some changes.
This is just the beginning. 😎
Follow along Ghostty development here: mitchellh.com/ghostty
English


















