cleanup: remove early kernel-mode PanelBar functionality
This commit is contained in:
@@ -169,20 +169,6 @@ namespace Kt {
|
||||
return fbctx->font_scale_y;
|
||||
}
|
||||
|
||||
void UpdatePanelBar(CString panelText) {
|
||||
kout << "\033[s";
|
||||
kout << "\033[H";
|
||||
|
||||
int panelWidth = g_terminal_width / 9;
|
||||
|
||||
kout << "\033[44m" << "\033[97m";
|
||||
kout << panelText;
|
||||
for (int i = static_cast<int>(Lib::strlen(panelText)); i < panelWidth; ++i)
|
||||
kout << " ";
|
||||
kout << "\033[0m";
|
||||
kout << "\033[u";
|
||||
}
|
||||
|
||||
void Initialize(std::uint32_t *framebuffer, std::size_t width, std::size_t height, std::size_t pitch,
|
||||
std::uint8_t red_mask_size, std::uint8_t red_mask_shift,
|
||||
std::uint8_t green_mask_size, std::uint8_t green_mask_shift,
|
||||
@@ -216,7 +202,6 @@ namespace Kt {
|
||||
struct flanterm_fb_context *fbctx = (struct flanterm_fb_context *)ctx;
|
||||
fbctx->plot_char = plot_char_universal;
|
||||
|
||||
UpdatePanelBar("Initializing...");
|
||||
kout << "\n\n\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user