The real guts of the graphics is in cave.c where the updates are done, and in z-term, which sends notifications to the various virtual terminals.
You can figure out the contract, more or less, from main-xxx.c
You can figure out the contract, more or less, from main-xxx.c
Comment