mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-17 00:26:44 -04:00
Finalize
This commit is contained in:
parent
2c08bee567
commit
e296af4048
@ -13,6 +13,7 @@
|
||||
#include "assert.hpp"
|
||||
#include "console.hpp"
|
||||
#include "vesa.hpp"
|
||||
#include "logging.hpp"
|
||||
|
||||
#include "text_console.hpp"
|
||||
#include "vesa_console.hpp"
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user