Skip to content

Commit

Permalink
Add linux shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbautista committed Nov 5, 2024
1 parent 449c6c7 commit 4a28546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qtconsole/tests/test_qtconsoleapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_shortcut_traitlets():
app = JupyterQtConsoleApp()
app.initialize()
# Check if the shortcuts traitlet has the expected value
assert app.shortcut_full_screen == "F11"
assert app.shortcut_full_screen == ("Ctrl+Meta+F" if sys.platform == 'darwin' else "F11")
assert app.shortcut_copy == "Ctrl+C"
assert app.shortcut_paste == "Ctrl+V"
assert app.shortcut_cut == "Ctrl+X"
Expand All @@ -53,7 +53,7 @@ def test_shortcut_traitlets():
assert app.shortcut_next_tab == "Ctrl+PgDown"
assert app.shortcut_rename_window == "Alt+R"
assert app.shortcut_rename_current_tab == "Ctrl+R"
assert app.shortcut_close == "Ctrl+F4"
assert app.shortcut_close == ("Ctrl+W" if sys.platform == 'darwin' else "Ctrl+F4")


@pytest.mark.parametrize(
Expand Down

0 comments on commit 4a28546

Please sign in to comment.