lovesegfault / hemoglobin

A Cellular Automaton written in Rust
GNU General Public License v3.0
3 stars 2 forks source link

Move to Termion #4

Open lovesegfault opened 6 years ago

lovesegfault commented 6 years ago

So, I spent the whole day today trying to figure out the best way to have a nice terminal display, I tried:

And all of them face the same limitation: You can't draw a true square on a terminal. The main idea for moving away from bare stdout was to maybe try and get true squares so the output doesn't look so funky, but I have failed. This means that only basic terminal mode will be supported for debugging, and that will later be deprecated when the real GUI is working.

@DanielSank thoughts?

lovesegfault commented 6 years ago

We could use Tektronix 4014 mode and demand people use xterm to run it, but that seems evil and I also have no clue how to handle the Tektronix 4014 terminal.

lovesegfault commented 6 years ago

Another solution is to require a Sixel-compatible terminal emulator.

DanielSank commented 6 years ago

I would just live with the non-square display until the code works. Meanwhile make sure that the back-end code doesn't care/know what's being used to display it.