Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
sixel-tmux
sixel-tmux is a fork of tmux, with just one goal: having the most reliable support of graphics
-
OpenCV_Tutorials
Contains 68 Basic Programs on Python + OpenCV.some information about this project is that it contains amazing OpenCV basic tutorials with dataset of photos on which this tutorial is based on. (by PLEX-GR00T)
Those existing tools are poorly designed, if you read the article it has a link to the discussion about its design choices, which contains in turn discussion about all the problems with sixel https://github.com/kovidgoyal/kitty/issues/33#issuecomment-2...
> What's wrong with extending ReGIS, Sixel, or Tektronix (just kidding on that one) protocols? Or, maybe, PostScript/Display PostScript?
Nothing is wrong with them: Sixels for example work perfectly for the task I throw at them in my terminals, from showing pixel perfect images to playing videoswith mpv.
> Can't we define what behavior should a modern terminal have with these already existing tools instead of inventing a brand new wheel?
Actually, something is wrong with these already existing tool: they are preexisting, and therefore someone else idea. If you don't invent a new wheel (on which you can take credit for), you have to recognize that 40 year old technology is now perfectly adequate.
I think it wasn't ideal in the 1980s due to the bandwith requirements, but in 2023, if I can play videos with mpv, I think that's enough for most use.
I think the tech has been adequate for some time (at least about 15 years), and I can freely recognize it both because I have no horse in the game, and I care more about actual use than having a shiny tech.
Inventing a better wheel is the perfect way to avoid confronting such issues: you can argue your new wheel is better, even if in practice it's no different that the old wheel, in the sense it allows your vehicle to go forward for all the practical measures you care about
BTW here's a project I'll try to resurect: rending X applications ... in sixels: https://github.com/csdvrx/xorg-sixel
So you could have graphical applications in your terminal! I've just up. I've only uploaded the picture as I'm still fighting with the code but what you see is Xeyes show inside wezterm thanks to the sixel output of Xorg.
I'm sure it will make many people cringe, but in terms of functionality, it works (latency, bandwidth etc are sufficient for my uses)
You can have that functionality integrated within tmux with https://github.com/csdvrx/sixel-tmux/ : if you terminal doesn't support sixels, you'll at least see something close to the picture they represent.
Then of course it's not pixel-perfect unless you make your terminal very large (like 800x240 instead of 80x24) but something being better than nothing, I'd argue it's for the better if all you can do is 80x24 with no pictures otherwise.
Related posts
- Warp, the modern terminal, is now available for Linux
- Kitty shortcuts work only with Latin characters - How to fix?
- Wrong text getting pasted in neovim.
- Tmux has forever changed the way I write code [video]
- Oh and @simoniz0r kindly take your hissy fit elsewhere. Since you have already stated you dont want to use kitty, I have no interest in your opinions.