This commit is contained in:
Baptiste Wicht 2016-09-24 18:15:42 +02:00
parent 2c08bee567
commit e296af4048
3 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
#include "assert.hpp"
#include "console.hpp"
#include "vesa.hpp"
#include "logging.hpp"
#include "text_console.hpp"
#include "vesa_console.hpp"

View File

@ -165,6 +165,7 @@ void stdio::finalize(){
terminal.input_thread_pid = input_process.pid;
// Save the initial image of the terminal
terminal.get_console().init();
terminal.get_console().save();
}
}

View File

@ -195,7 +195,7 @@ void vesa::draw_rect(void* buffer, size_t x, size_t y, size_t w, size_t h, uint3
}
void vesa::draw_rect(size_t x, size_t y, size_t w, size_t h, uint32_t color){
draw_rect(x, y, w, h, color);
draw_rect(screen, x, y, w, h, color);
}
void vesa::move_lines_up(void* buffer, size_t y, size_t x, size_t w, size_t lines, size_t n){