summaryrefslogtreecommitdiffstats
path: root/console.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-05-08Only update ncurses display on activity or keypressHEADmasterMalfurious1-3/+6
Previously, the test UI logic would constantly regenerate and print the screen's contents every iteration of the main processing loop to naively ensure that changes to the underlying system were reflected immediately. Sometimes, this would result in a screen flicker due to the rapid clearing and printing. This makes the UI a bit smarter about when refreshes occur, by monitoring activity results from the debugger and console modules in addition to user input. This should improve the screen flicker performance. This also addresses an issue selecting text on the screen, which was previously not possible due to the rapid refreshing as well. Signed-off-by: Malfurious <m@lfurio.us>
2023-07-06Rename curshelpers unit to 'helpers'Malfurious1-1/+1
Signed-off-by: Malfurious <m@lfurio.us>
2023-07-02Add basic pty consoleMalfurious1-0/+100
This is good enough for early testing of the debugger functionality, but should be improved in the future. Signed-off-by: Malfurious <m@lfurio.us>