GUI: fixed refresh of registers window

This commit is contained in:
(Tim) Efthimis Kritikos 2024-02-06 17:43:17 +00:00
parent e5705a8477
commit 3e5e8f56e8

1
gui.c
View File

@ -336,6 +336,7 @@ int update_general_memdump(struct simdata_t *simdata){
int update_general_registers(struct simdata_t *simdata){ int update_general_registers(struct simdata_t *simdata){
int width,height; int width,height;
werase(general_registers);
getmaxyx(general_registers,height,width); getmaxyx(general_registers,height,width);
box(general_registers, 0 , 0); box(general_registers, 0 , 0);
mvwprintw(general_registers,0,terminal_width/4-7,"[ REGISTERS ]"); mvwprintw(general_registers,0,terminal_width/4-7,"[ REGISTERS ]");