[PR #108] [MERGED] Add cmd+h for hide and ctrl+space for pause/resume #430

Closed
opened 2026-02-28 14:32:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jpochyla/psst/pull/108
Author: @JuliDi
Created: 8/18/2021
Status: Merged
Merged: 8/18/2021
Merged by: @jpochyla

Base: masterHead: add-more-hotkeys


📝 Commits (2)

  • 0e6a3f7 Add cmd+h for hide and ctrl+space for pause/resume
  • d108540 revert ctrl+space for pause

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 psst-gui/src/ui/menu.rs (+5 -0)

📄 Description

This should fix #91 in parts, but has a little drawback: you need to press ctrl+space to pause/resume the song.
I could not get the application to react to a normal key even without a modifier (i.e. only pressing space or another key when the psst window is open).
If there is a way to achieve this, I'd be happy to make the according changes.

In case #103 should be implemented (ctrl+w sends druid's command::CLOSE_WINDOW), I could add that as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jpochyla/psst/pull/108 **Author:** [@JuliDi](https://github.com/JuliDi) **Created:** 8/18/2021 **Status:** ✅ Merged **Merged:** 8/18/2021 **Merged by:** [@jpochyla](https://github.com/jpochyla) **Base:** `master` ← **Head:** `add-more-hotkeys` --- ### 📝 Commits (2) - [`0e6a3f7`](https://github.com/jpochyla/psst/commit/0e6a3f7f57f6685a47269a7a20cc7e30d169cbb7) Add cmd+h for hide and ctrl+space for pause/resume - [`d108540`](https://github.com/jpochyla/psst/commit/d108540c22f71f938aa4f67cb2242e2f9844b052) revert ctrl+space for pause ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `psst-gui/src/ui/menu.rs` (+5 -0) </details> ### 📄 Description This should fix #91 in parts, but has a little drawback: you need to press ctrl+space to pause/resume the song. I could not get the application to react to a normal key even without a modifier (i.e. only pressing space or another key when the psst window is open). If there is a way to achieve this, I'd be happy to make the according changes. In case #103 should be implemented (ctrl+w sends druid's `command::CLOSE_WINDOW`), I could add that as well. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:32:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#430
No description provided.