Skip to content

Commit

Permalink
screen_utils: eliminate MoveCursor() call
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 6, 2024
1 parent 5496991 commit a471d62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/screen_utils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ screen_getch(ScreenManager &screen, const char *prompt) noexcept

SelectStyle(window, Style::STATUS_ALERT);
window.Erase();
window.MoveCursor({0, 0});
window.String(prompt);
window.String({0, 0}, prompt);

echo();
curs_set(1);
Expand Down

0 comments on commit a471d62

Please sign in to comment.