Skip to content

Commit

Permalink
Use F12 instead of F11 to open the terminal
Browse files Browse the repository at this point in the history
Match behavior in web browsers.
  • Loading branch information
CBenoit committed Oct 21, 2023
1 parent 3bdd2d4 commit 42ebfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ void view::view::manage_events(sf::RenderWindow &window, state::holder &state) n
sf::Event event{};
while (window.pollEvent(event)) {
if (event.type == sf::Event::KeyPressed) {
if (event.key.code == sf::Keyboard::F11) {
if (event.key.code == sf::Keyboard::F12) {
m_showing_term = !m_showing_term;
}
}
Expand Down

0 comments on commit 42ebfa2

Please sign in to comment.