Skip to content

Commit

Permalink
Disable <Left> and <Right> bindings for all notebook tab bars in the …
Browse files Browse the repository at this point in the history
…app.
  • Loading branch information
culler committed Dec 11, 2024
1 parent 4876d47 commit d3344b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,8 @@ def main():
terminal = SnapPyTerm()
sys.stdout = terminal
set_icon(terminal.window)
terminal.window.call('bind', 'TNotebook', '<Right>', '')
terminal.window.call('bind', 'TNotebook', '<Left>', '')
SnapPy_ns = {x: getattr(snappy, x) for x in snappy.__all__}
# SnapPy_ns['kernel_server'] = kernel_server
SnapPy_ns['exit'] = SnapPy_ns['quit'] = SnapPyExit()
Expand Down

0 comments on commit d3344b0

Please sign in to comment.