mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[GH-ISSUE #143] playback_window_width should be playback_window_height #64
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#64
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 @sewnie on GitHub (Feb 22, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/143
Describe the bug
the configuration option
playback_window_widthlooks like it would specify the width, but it actually specifies the heighti think cuz like width is not really controlled here
and height is like how tall it is and that is what is changed in the tui
To Reproduce
uhh no
Expected behavior
its called
playback_window_heightLog and backtrace
i feel sad becuase of the name, thats the log
Screenshots

Environment
no
Additional context
im sorry i cant make a pr because i dont know rust and im scared i will actidentally break the program
@aome510 commented on GitHub (Feb 22, 2023):
Yeah, I agree it's quite confusing. It's a width as in terms of a rectangle's width (and length). I'll keep this as-is because some UI codes actually rely on this way of understanding.
Nah, it's always good to learn, especially learning Rust ;). Github should already protect from merging a non-approved PR, so no need to worry about that.
I'll close this issue for now. Feel free to re-open if you have any other questions.
@sewnie commented on GitHub (Feb 22, 2023):
https://github.com/aome510/spotify-player/blob/master/examples/theme.toml doesnt contain the
defaulttheme, which does terminal colorsi have no clue what counts as a terminal color, since i wanna have my own theme rn
@aome510 commented on GitHub (Feb 22, 2023):
If you don't specify a field in
theme.palette, it will default to use terminal's colors. In addition, you can refer to theme documentIn the document,
@sewnie commented on GitHub (Feb 22, 2023):
i guess using the keys from
StyleColorwork tho lol.