Repository navigation
Colab Shell v2.1.0
Colab Shell: Notebook & TTY (v2.1.0) brings full desktop keyboard shortcuts to the Notebook, Terminal, and Files screens — Jupyter-standard cell shortcuts, leak-free terminal combos (via flet-terminal 0.3.8), and a context-aware F1 cheat sheet — plus the terminal top-bar overhaul you asked for.
⌨️ Notebook — Jupyter-standard shortcuts
- Shift+Enter runs the cell and advances to the next (inserts a new one when at the last cell) — Ctrl+Enter runs in place — Alt+Enter runs and inserts below.
- Ctrl+Shift+Enter runs all cells; Ctrl+S exports the notebook as
.ipynb(same as the download icon). - Ctrl+Shift+A / B insert a code cell above/below; Alt+Up/Down moves the active cell; Ctrl+Shift+D deletes it; Ctrl+Shift+M toggles code ↔ markdown.
- Escape leaves the editor (markdown renders immediately).
- The active cell is highlighted; run-and-advance focuses the next editor automatically.
🖥️ Terminal — shortcuts that never leak into your shell
- Powered by flet-terminal 0.3.8: combos are intercepted on the Dart side before the PTY, so nothing extra is typed into your command line.
- Ctrl+Shift+T new terminal · Ctrl+Shift+W close · Ctrl+Shift+1..9 switch terminal · Ctrl+PageUp/PageDown cycle · Ctrl+Shift+F search · Ctrl+Shift+L clear · Ctrl+Shift+C/V copy/paste · Ctrl+Shift+=/-/0 zoom in/out/reset.
🛠️ Terminal top-bar fixes
- Snug zoom buttons — the huge gap between zoom in/out is gone (compact Material density).
- New Reconnect button — re-attaches the active terminal's socket to the same shell, no terminal reset.
- Theme (colour) switcher is back — cycles Dracula → JetBrains Dark → Matrix Green → Colab Light right from the bar (now that it actually applies, thanks to the 0.3.7 fix).
📁 Files shortcuts
- F5/Ctrl+R refresh · Alt+Up/Backspace parent folder · Ctrl+A select all · Ctrl+Shift+N new folder · Delete delete selection · Escape clear selection.
🌍 Global
- F1 opens a shortcuts cheat sheet for whatever screen you're on; Ctrl+1..5 jumps between Home, Notebooks, Terminal, Files, Settings.
🧪 Under the hood
- New keyboard engine (
core/shortcuts.py+hooks/use_keyboard_shortcuts.py, ported from the proven KTV Player pattern) with a 21-test pytest suite; shortcut help text is ASCII-English-only by test.