Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid command from history not fully visible at the bottom #2627

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Avoid-command-from-history-not-fully-visible-at-the-bottom
  • Loading branch information
Miguel-hrvs authored Jul 10, 2024
commit c1429470f19366d7f3048a6cc8fa800e865c1c67
5 changes: 4 additions & 1 deletion src/studio/screens/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -4270,7 +4270,10 @@ static void processKeyboard(Console* console)
}
else
{
if(keyWasPressed(console->studio, tic_key_up)) onHistoryUp(console);
if(keyWasPressed(console->studio, tic_key_up)) {
onClsCommand(console);
onHistoryUp(console);
}
else if(keyWasPressed(console->studio, tic_key_down)) onHistoryDown(console);
else if(keyWasPressed(console->studio, tic_key_left))
{
Expand Down
Loading