Skip to content

Commit

Permalink
moved from CTRL+Q to standard terminal (and textual) default of CTRL+…
Browse files Browse the repository at this point in the history
…C to exit; updated screenshots
  • Loading branch information
mwhickson committed Nov 23, 2024
1 parent 9efe967 commit 7261e5a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Also provided are batch (`tuipod.bat`) and shell (`tuipod.sh`) files to simplify
- `ESC` will close a modal window
- `F1` will show the About dialog
- `TAB` and `SHIFT`+`TAB` will move the cursor focus between sections (e.g. search, podcast list, and episode list)
- `CTRL`+`Q` will quit the application
- `CTRL`+`C` will quit the application
- `CTRL`+`P` will show the textual command palette
- when a podcast is selected:
- `S` will subscribe to the podcast
Expand All @@ -66,6 +66,8 @@ Also provided are batch (`tuipod.bat`) and shell (`tuipod.sh`) files to simplify

## Screenshots

![tuipod about](tuipod-about.png)

![tuipod playing a podcast](tuipod.png)

![tuipod showing episode information](tuipod-episode-info.png)
Expand Down
Binary file added tuipod-about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tuipod-episode-info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tuipod-error-info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tuipod-linux-ubuntu-wsl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tuipod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tuipod/ui/about_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class AboutInfoScreen(ModalScreen):
- `ENTER` - submit a search query, or select a list item
- `ESC` - close a modal screen
- `F1` - show this dialog
- `CTRL` + `C` - quit the application
- `CTRL` + `P` - show the textual command palette
- `CTRL` + `Q` - quit the application
- `D` - toggle dark mode
- `I` - show episode information
- `S` - subscribe to highlighted podcast
Expand Down
6 changes: 0 additions & 6 deletions tuipod/ui/podcast_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,9 @@
class PodcastApp(App):
BINDINGS = [
Binding("f1", "display_about", "Display about information", priority=True),

# don't let search swallow input (but don't prioritize standard text entry characters to hamper search)
Binding("ctrl+q", "quit_application", "Quit application", priority=True),

# may dupe, but lets us avoid the need to CTRL chord keys for some functions (these will be 'undocumented' to avoid confusion re: the conditions necessary for these to work)
Binding("space", "toggle_play", "Play/Pause"),
Binding("d", "toggle_dark", "Toggle dark mode"),
Binding("i", "display_info", "Display information"),
Binding("q", "quit_application", "Quit application"),
Binding("s", "subscribe_to_podcast", "Subscribe to Podcast"),
Binding("u", "unsubscribe_from_podcast", "Unsubscribe from Podcast")
]
Expand Down

0 comments on commit 7261e5a

Please sign in to comment.