All: Cleanup all files

Add newline to end of files and remove whitespace from end of lines
This commit is contained in:
2024-01-24 14:43:46 +02:00
parent 3441f63298
commit dfe5a2d665
226 changed files with 466 additions and 460 deletions

View File

@@ -113,7 +113,7 @@ namespace Kernel
const char* ptr = query;
while (*ptr)
putchar(*ptr++);
if (getchar() != '\033')
return false;
if (getchar() != '[')
@@ -272,4 +272,4 @@ namespace Kernel
m_serial.putchar(ch);
}
}
}

View File

@@ -86,7 +86,7 @@ namespace Kernel
m_width = new_width;
m_height = new_height;
}
for (uint32_t y = 0; y < m_height; y++)
for (uint32_t x = 0; x < m_width; x++)
render_from_buffer(x, y);
@@ -230,7 +230,7 @@ namespace Kernel
{
dprintln("Unsupported ANSI CSI character J");
}
if (m_ansi_state.nums[0] == 3)
{
// FIXME: Clear scroll backbuffer if/when added
@@ -307,7 +307,7 @@ namespace Kernel
void VirtualTTY::putchar_impl(uint8_t ch)
{
ASSERT(m_lock.is_locked());
uint32_t codepoint = ch;
switch (m_state)
@@ -425,4 +425,4 @@ namespace Kernel
set_cursor_position(m_column, m_row);
}
}
}