3 ms·
mine emulates an adm-3a, which is probably about the simplest thing already in termcap/terminfo that can support vi and curses https://gitlab.com/kragen/bubble
by kragen 3y ago
mine emulates an adm-3a, which is probably about the simplest thing already in termcap/terminfo that can support vi and curses
https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu_shell.png https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu_s...
it's 96 lines of c, which ought to remove any intimidation factor from the task; if i can do it so can you
https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu.h https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu.h
https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu.c https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu.c
then all the crap to interface with unix braindamage and draw glyphs on the screen, without any actual terminal emulation, is another 232 lines of c
https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu-shell.c https://gitlab.com/kragen/bubbleos/-/blob/master/yeso/admu-s...
yeso makes it pretty easy to get pixels on the screen (opposite extreme from 'OpenGL code is very heavy on boiler plate and repetition'), but its text handling capabilities are limited at best