Skip to content

Commit

Permalink
Make sure the keybindings are printed by flushing once with std::endl
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 15, 2024
1 parent bcc4961 commit ae89071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/pacman_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void PacmanWrapper::printKeybindings() {
<< " \033[1;32mSpace\033[0m - Pause the demo\n"
<< " \033[1;32mP\033[0m - Toggle path visualization\n"
<< "\033[1;36m=====================================\033[0m\n"
<< '\n';
<< std::endl;
}

void PacmanWrapper::renderPath(const demo::Positions& path) {
Expand Down

0 comments on commit ae89071

Please sign in to comment.