4 ms·
Newbie question: why the terminal cannot have full high definition graphics ?
by whatever1 4y ago
Newbie question: why the terminal cannot have full high definition graphics ?
- IncRnd 4y agoTerminals started as TTY or teletype emulators. Everything else is an addon.
- deathanatos 4y agoMost 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.)
- csdvrx 4y ago> 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 https://github.com/csdvrx/CuteXterm
- csdvrx 4y agoPro answer: yes it can! https://www.arewesixelyet.com/ https://www.arewesixelyet.com/
- michaelsbradley 4y agoIt can. See, for example, Notcurses: https://github.com/dankamongmen/notcurses#readme https://github.com/dankamongmen/notcurses#readme Demo: https://youtu.be/dcjkezf1ARY https://youtu.be/dcjkezf1ARY
- aumerle 4y agoYes it can as long as you avoid sixel and xterm. https://sw.kovidgoyal.net/kitty/graphics-protocol/ https://sw.kovidgoyal.net/kitty/graphics-protocol/