A terminal emulator with support for VGA graphics (see gfx modes below).
cd build
cmake ..
make vterm
This is a personal project and work in progress (see TODO below)
- pty modes
- gfx modes (see here)
- shared process memory (
shm_open
ormmap
) for vram (aka vram store in ram)
- shared process memory (
- General (done using custom escape codes)
- Switching modes (discarding all elements in current buffer)
- Switching buffers (change
current_buffer
)
- Other todos for future
- Improve performance
- Call
DrawText
once per frame (customDrawText
function to account for color both bg and fg)- Did not improve performance significantly... instead generate one texture with all the text per frame?
- For background colors, having many on screen makes it unperformant, fix this.
- Multithreading ?
- Call
- Improve performance