Sources/sinks name display (v), and (s)hell to pactl from ui#80
Open
jaggzh wants to merge 5 commits intoGeorgeFilipkin:masterfrom
Open
Sources/sinks name display (v), and (s)hell to pactl from ui#80jaggzh wants to merge 5 commits intoGeorgeFilipkin:masterfrom
jaggzh wants to merge 5 commits intoGeorgeFilipkin:masterfrom
Conversation
This commit introduces two new hotkeys to the interactive mode: - 'v': Toggles a verbose mode which displays the internal PulseAudio/ALSA device name below the description. - 's': Displays detailed information about the selected audio device or stream. The help screen has been updated to include these new hotkeys.
This commit fixes a crash that occurred when navigating up or down onto the newly added verbose info lines. The `scroll` method has been updated to check if the destination line is an interactive item. If not, it skips over it, ensuring that the cursor only lands on valid, selectable items.
This commit fixes a crash that occurred when clicking on the newly added verbose info lines. The `run_mouse` method has been updated to check if the clicked line is an interactive item. If not, it moves the focus to the nearest valid item, preventing the crash.
Author
|
Oh, because it would crash when moving through, I have it skip the 'name' entries. For mouse-clicks I have it select the src/sink/i/o when the name is selected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Okay, so I'm not sure how to handle the UI for this.
(fwiw, I don't know if people appreciate how much thought people (you/you all) put into making an interface comfortable and intuitive and.. just proper).
In any case, I had google jules add 'v' for verbose mode, which merely enables the display of the name: field of the source/sink.
And 's' to shell and display the pactl output for the specific src/sink/stream.
(I have it pipe into PAGER/less for user convenience).
With stereo, at present, it displays the 'name' between the left and right, as you can see. I don't like it, but moving the name lower is worse on my eyes.
What do you think?
For faster review: