ht: Headless Terminal
github.com
ht: Headless Terminal
1–10 of 90 posts
Re: ht: Headless Terminal
#2Re: ht: Headless Terminal
#3Using JSON as RPC also seems like a good idea, especially when SSH-ing in, as the language server protocol has shown.
That being said, I don't see this project doing anything (yet?) about escape sequences (for colors, clickable links, mouse and clipboard integrations, setting title and cwd, etc) and handling shortcuts (e.g. translating ctrl-c to sigint). There are very few terminal emulators that get all of that right (I think Kitty, iTerm, WezTerm), so it would be great if this project could lead towards more of them being written.
Re: ht: Headless Terminal
#4That's pretty interesting. What would be an example use case of this?
Re: ht: Headless Terminal
#5That's pretty interesting. What would be an example use case of this?
Re: ht: Headless Terminal
#6That's pretty interesting. What would be an example use case of this?
Re: ht: Headless Terminal
#7That's pretty interesting. What would be an example use case of this?
Re: ht: Headless Terminal
#8Re: ht: Headless Terminal
#9Having sat with it a few minutes though, why would I choose this over the classic:
https://core.tcl-lang.org/expect/index
or any of its analogs such as: https://pkg.go.dev/github.com/google/goexpect https://pexpect.readthedocs.io/en/stable/ https://www.rubydoc.info/gems/ruby_expect/1.6.0/RubyExpect/E...
edit: ah. it preserves the UI. This has potential.
Re: ht: Headless Terminal
#10How does this relate to classic tools like `expect`?