Kernel: Clean code in tty and vesa
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user