Kernel: Clean code in tty and vesa

This commit is contained in:
Bananymous
2022-12-27 17:22:45 +02:00
parent 2535eb1c4c
commit 5ae1fc58e9
4 changed files with 33 additions and 35 deletions

View File

@@ -23,7 +23,7 @@ private:
inline void RenderFromBuffer(size_t x, size_t y)
{
const auto& cell = m_buffer[y * m_width + x];
VESA::PutEntryAt(cell.character, x, y, cell.foreground, cell.background);
VESA::PutCharAt(cell.character, x, y, cell.foreground, cell.background);
}
private:

View File

@@ -26,7 +26,7 @@ namespace VESA
};
bool Initialize();
void PutEntryAt(uint16_t, uint32_t, uint32_t, Color, Color);
void PutCharAt(uint16_t, uint32_t, uint32_t, Color, Color);
void Clear(Color);
uint32_t GetTerminalWidth();