added a temperary buffer when running
This commit is contained in:
@@ -28,9 +28,14 @@ struct tart_window tart_create_window() {
|
||||
window.data[g] = '\0';
|
||||
}
|
||||
window.data_count = dataSize;
|
||||
printf("\033[?1049h");
|
||||
return window;
|
||||
}
|
||||
|
||||
void tart_destroy_window(struct tart_window* winodw) {
|
||||
printf("\033[?1049l");
|
||||
}
|
||||
|
||||
tart_byte tart_restore_window(struct tart_window* window) {
|
||||
for (int i = 0; i < window->data_count; i++) {
|
||||
window->data[i] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user