Skip to content

Commit

Permalink
StatusBar: In help mode show Alt+O as hint to open menu.
Browse files Browse the repository at this point in the history
In testing some terminals claim Alt+F for themselves (to open the terminals
file menu).
But no tested termial claims Alt+O so use that in the help text.
  • Loading branch information
textshell committed Dec 23, 2023
1 parent f8f7b4f commit 62e3add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statusbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ void StatusBar::paintEvent(Tui::ZPaintEvent *event) {
searchLayout.draw(*painter, {0, 0}, Tui::ZTextStyle({0, 0, 0}, {0xff,0xdd,00}));
}
} else {
QString text = "F1: Help, F10/Alt+F: Menu, Ctrl+Q: quit";
QString text = "F1: Help, F10/Alt+O: Menu, Ctrl+Q: quit";

painter->clear({0, 0, 0}, _bg);
painter->writeWithColors(0, 0, text.toUtf8(), {0, 0, 0}, _bg);
Expand Down

0 comments on commit 62e3add

Please sign in to comment.