mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-25 23:55:53 +03:00
[GH-ISSUE #174] Typing 'q' to exit focuses search bar #87
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @stevensonmt on GitHub (Nov 30, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/174
After playing some tracks, typing q to get back to the main screen and then q to quit the application puts the cursor in the search bar. Hitting 'esc' and then 'q' typically then exits the application.
@Rigellute commented on GitHub (Dec 2, 2019):
Hi @stevensonmt, you are right. I had originally intended this to be that way, however I myself don't like it.
If anyone want to have a crack at fixing, we could possibly do this: when we are
poping the navigation stack viaqwe can check if thepoped route isSearchand then immediatelypopagain - essentially bypassing the search route.@stevensonmt commented on GitHub (Dec 2, 2019):
I can have a go at that this evening. Seems pretty straightforward to match on the pop result of Some(Search) and pop again.
@samcal commented on GitHub (Jan 4, 2020):
@Rigellute I think this issue can be closed as fixed.
@Rigellute commented on GitHub (Jan 16, 2020):
Thanks @samcal 👍