Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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...

96,262 görüntüleme • 2 yıl önce •via X (Twitter)

10 Yorum

Jesse O'Brien profil fotoğrafı
Jesse O'Brien2 yıl önce

Killer feature would be the ability to record a sequence of all of these things, save to an easily runnable format. Recording and playback would be useful for all kinds of neat things including teaching. Also the redux dev tools where you can move along the timeline.

Mitchell Hashimoto profil fotoğrafı
Mitchell Hashimoto2 yıl önce

I’m planning on experimenting with this but pairing asciinema with this is already pretty good!

Alasdair Monk profil fotoğrafı
Alasdair Monk2 yıl önce

daaamn. dope. pls start a tiktok

Tavis Rudd profil fotoğrafı
Tavis Rudd2 yıl önce

Very cool. You can sort of do a subset of that with terminals nested inside emacs via describe-char and related functions

Ian McDowell profil fotoğrafı
Ian McDowell2 yıl önce

Is the inspector itself drawn using TUI, or is it drawn in some other way? Also, 0 bytes of memory used, very impressive! 🙂

Mitchell Hashimoto profil fotoğrafı
Mitchell Hashimoto2 yıl önce

Zero bytes of Kitty graphics 😜 no it’s not TUI it’s Dear ImGui

Olav profil fotoğrafı
Olav2 yıl önce

this is genius!

awkweb profil fotoğrafı
awkweb2 yıl önce

legendary

Iheanyi Ekechukwu profil fotoğrafı
Iheanyi Ekechukwu2 yıl önce

I NEED THIS

Marius profil fotoğrafı
Marius2 yıl önce

Wow, Innovation happening in the terminal space. That's exciting!

Benzer Videolar

day 4 of building an OpenCode clone from scratch i have a newfound appreciation for how good this tool is, and how much attention to detail was put into making it. here is what i managed to clone, and problems i've encountered: 1. scrollable autocomplete. mouse click to select, mousewheel to scroll, arrow keys that auto-scroll when you hit the edge, enter to confirm, sounds simple, but remember that this is a CLI tool, not a web app, all of this has to be implemented from the ground up 2. toast notifications in the terminal, success/error/info variants, auto-dismiss, easily triggerable through context 3. modal dialogs with backdrop overlay, click-outside-to-close, escape to dismiss, focus trapping so the content behind stops capturing input, again, seems simple, but the concept of a "dialog" does not exist in the terminal, so implementing it is way harder 4. built a responder chain for keyboard input, only the topmost layer owns the keyboard. ctrl+c walks down: dialog > command menu > clear input > exit. had to invent this because there's no built-in focus management in a terminal 5. generic command actions. each command gets a context with toast, dialog, and navigate (easily extendable for further features) 6. react-router with a memory router in a terminal app. navigate between screens with the same patterns as web 7. (mock) session view with user/bot message components. thinking indicator, model info footer, mode-colored borders when you use opencode, you don't think about these things, but there is a million little details they thought of. absolutely insane and cracked team Anomaly

Code With Antonio

69,394 görüntüleme • 5 ay önce