Remove TAB keybindings

This commit is contained in:
NeilClack
2026-08-13 14:37:35 -05:00
parent 4abcfa473f
commit fe2c9ba6a5
10 changed files with 16 additions and 34 deletions
+2 -2
View File
@@ -142,7 +142,7 @@ void LogViewerPage::handleEvent(const SDL_Event& event) {
scrollOffset_ = std::max(0, scrollOffset_ - 10);
} else if (key == SDLK_PAGEDOWN) {
scrollOffset_ += 10;
} else if (key == SDLK_ESCAPE || key == SDLK_TAB) {
} else if (key == SDLK_ESCAPE) {
state_->pages.pop(*state_);
}
}
@@ -236,7 +236,7 @@ void LogViewerPage::render(SDL_Renderer* renderer) {
// 4. Footer Help Line
footerText_.ensure(renderer, fontSmall_,
"[UP/DOWN] Scroll [L/F2] Filter Level [S/F3] Sort Order [C] Clear Logs [ESC/TAB] Back", gray);
"[UP/DOWN] Scroll [L/F2] Filter Level [S/F3] Sort Order [C] Clear Logs [ESC] Back", gray);
if (footerText_.texture) {
float x = (fw - footerText_.width) / 2.0f;
SDL_FRect dst{x, fh - 35.0f, footerText_.width, footerText_.height};