Email or username:

Password:

Forgot your password?
Top-level
PorkrollPosadist

@ryanc If you want to spend ABSOLUTELY way too much effort on this, there IS a way to compress this. You can use console escape codes to update only the parts of the screen which are changing. This is a lost art, but some implementations survive (Emacs notably does this).

5 comments
Rich Felker

@porkroll @ryanc That's curses. That's the whole point of curses. It's diff for charcell arrays.

datenwolf

@ryanc @dalias @porkroll

Do some motion estimation. In rectangular regions that coherently move vertically you could set a scroll region and just scroll that area.

Umberto Ecco

@dalias @porkroll @ryanc curses uses escape codes, but you don’t have to use curses to use escape codes. You can emit them yourself if you like

Ryan Castellucci :nonbinary_flag:

@nyankat @dalias @porkroll I'm already doing stuff like detecting where the colors are almost the same and not updating them for the next character. I have my own termcell serialization format built already to facilitate this.

Go Up