Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Newbie question: why the terminal cannot have full high definition graphics ?



Most emulate an xterm, which didn't have support for graphics. (And xterm itself is emulating an even older TTY … with features bolted on…)

There are some escape sequences you can feed to some terminals, though, that emit graphics. "Sixels" are pretty well known for pushing graphics to a terminal, but they're not universally supported.

iTerm2, on macOS, has a means of escaping and then sending a PNG, which is then displayed, IIRC. (But it's unique to iTerm2, and IIRC iTerm2 identifies as an xterm so it's basically impossible to autodetect.)


> Most emulate an xterm, which didn't have support for graphics

Start your xterm with the right flags and it will.

If you want a premade configuration, see https://github.com/csdvrx/CuteXterm


Pro answer: yes it can!

https://www.arewesixelyet.com/


Terminals started as TTY or teletype emulators. Everything else is an addon.


Yes it can as long as you avoid sixel and xterm. https://sw.kovidgoyal.net/kitty/graphics-protocol/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: