Remix.run Logo
constantcrying 11 hours ago

>As someone already mentioned before, I don't think you are talking about the same terminal as others are.

People know perfectly well that I am talking about the way in which a terminal emulator can be used to display 2D graphics. By utilizing specific escape sequences to draw arbitrary glyphs on the terminal grid.

>What are those hacks.

Everything is a hack. TUIs work by sending escape sequences, which the terminal emulator then interprets in some way and if everything goes right you get 2D glyph based graphics. Literally everything is a hack to turn something which functions like a character printer into arbitrary 2D glyphs. Actually look at how bad this whole thing is. Look at the ANSI escape sequence you need to make any of this work, does that look like a sane graphics API to you? Obviously not.

>As far as I can remember, TUIs ran faster on ancient hardware then anything else on today's modern computers.

This is just delusional. Modern 2D graphics are extremely capable and deliver better performance in every metric.

nec4b 11 hours ago | parent [-]

There are no escape sequences when running TUI apps in DOS. They have direct memory access to the video card.

>> This is just delusional.

That is a bit uncalled for.

constantcrying 10 hours ago | parent [-]

Did you just not read the rest of my post?

We are not talking about DOS, we are talking about "modern" TUIs you would use on a modern Linux/Windows/MacOS system.

I even made that explicit in my first paragraph.

gldrk 5 hours ago | parent | next [-]

Windows NT has a native console API that every non-Cygwin program used until a few years ago, when Microsoft finally implemented terminal emulation. See, for example, https://github.com/vim/vim/blob/e7c765fe5997daa845222351e114.... It’s just that there is little interest in TUIs from Windows users.

nec4b 7 hours ago | parent | prev [-]

I don't think others are talking about what you are angry about. I said that with the first reply and I'm not the only one saying it. Nobody is trying to take Zed or Neovim away from you.

By the way one of the most frequent modern TUI apps that I use is Midnight Commander. It's a very nice app, which I use mostly when I SSH into a remote machine to manage it. Is there a 2D accelerated GUI that can help me do the same?