A collection of experimental programs.
load_terminfo.c - Dump a
subset of parsed terminfo without using infocmp
.
rb_tree.py - Curses-based red-black tree visualizer in Python.
See the the top of the source file for controls.
NOTE: although I've tested the algorithm for insert/delete decently well, there is quite a bit flickering when the tree is redrawn. Unfortunately, the tree is currently redrawn on every input, so if you hold down any key it will flicker to no end.
You can try it in the neovim terminal which doesn't suffer the same flickering as a native terminal emulator.
diamond_mro.py - Demonstration of Python's breadth first method resolution scheme with inheritance.
Nothing much to add really...