3 ms·
There's a slick little Haskell library that does something similar called reflex-vty: https://github.com/reflex-frp/reflex-vty#reflex-vty https://github.com/re
by mightybyte 6y ago
There's a slick little Haskell library that does something similar called reflex-vty:
https://github.com/reflex-frp/reflex-vty#reflex-vty https://github.com/reflex-frp/reflex-vty#reflex-vty
One thing neither of these libraries appear to have done yet that I would really like is create a more compact window rendering. Currently each window gets a 1-character border. What I would like is something that saves space by collapsing adjacent windows' borders into a single character instead of having two redundant borders next to each other. Of course I get why they do it the way they do, but terminals are often more constrained for space and with complex UIs you can lose a fair amount due to these unnecessary borders. That would be the next thing I'd hack on to improve these kinds of libraries. But alas...too many fun projects to hack on and not enough hours in the day.