Re:A calculator for the Terminal that renders beautiful math
by pmkary on Sunday January 12, 2020 @07:10AM
(#22025918)
Nota is not much about calculator itself, it's about fun with ASCII art. there exists tons of more powerful calculators with much much better rendering. But I really agree, if we had a better system than text-only terminals it would have been sooo amazing
Re:A calculator for the Terminal that renders beautiful math
by wfdctrl on Sunday January 12, 2020 @06:58AM
(#22025877)
Kitty
Re:A calculator for the Terminal that renders beautiful math
by albertzeyer on Sunday January 12, 2020 @07:03AM
(#22025895)
Kitty also has their own custom protocol for images. That's exactly what they try to accomplish in this discussion thread, to get one common protocol which is used by all modern terminals. The developer of Kitty is also in there.
Re:A calculator for the Terminal that renders beautiful math
by fit2rule on Sunday January 12, 2020 @06:32AM
(#22025782)
We've had image support in terms possible for years. I don't think that's what's needed to make a nice command line math program.
Instead, we need term programs that can handle type ligatures better. Being able to use something like FF Chartwell in a terminal would be amazing .. and would lead the way to having properly formatted mathematical notation in the terminal, without requiring a new standard to implement. Ligatures are already a thing - they just need to be better supported by the term apps.
Re:A calculator for the Terminal that renders beautiful math
by albertzeyer on Sunday January 12, 2020 @06:46AM
(#22025835)
You probably mean SIXEL? That is very limited, has drawbacks, and is not supported by many terminals (not exactly sure why, maybe too complicated, or too ugly). It's also discussed exactly in that thread. Developers from tmux, iTerm, mintty, xterm.js, Kitty, and others are in there.
Re:A calculator for the Terminal that renders beautiful math
by unicas on Sunday January 12, 2020 @09:57AM
(#22026523)
A cheer for sixel ;)
https://saitoha.github.io/libsixel/
https://github.com/nilqed/latex2sixel
There is a long ongoing discussion about an upcoming standard for image support in terminals: https://gitlab.freedesktop.org/terminal-wg/specifications/is...