News for hackers. Stuff that matters.
Re:Ink: React for interactive command-line apps by xiaq on Sunday July 23, 2017 @03:03PM (#14833833)
If you keep an internal representation of the terminal (which you should totally do when building a terminal toolkit), you can just update whatever changed. It is not hard with cursor positioning sequences.
Re:Ink: React for interactive command-line apps by ams6110 on Sunday July 23, 2017 @03:51PM (#14834044)
This is what [n]curses does, since decades ago.
Re:Ink: React for interactive command-line apps by xiaq on Sunday July 23, 2017 @04:53PM (#14834328)
Well, my point is that everyone can do this, ncurses is no black magic :)