[GH-ISSUE #10] scroll not in view #7

Closed
opened 2026-02-28 14:46:19 +03:00 by kerem · 4 comments
Owner

Originally created by @estysdesu on GitHub (Oct 7, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/10

When moving cursor up and down, it doesn't show selected/highlighted choice when terminal window is resized. I use tmux, and the pane resizes great to fit the proper space, but it doesn't update the scroll buffer of what is visible to select.
I am selecting songs below the visible song list, because they are still selectable in the current scroll buffer from the tmux resize.

Scroll not in view

Originally created by @estysdesu on GitHub (Oct 7, 2019). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/10 When moving cursor up and down, it doesn't show selected/highlighted choice when terminal window is resized. I use tmux, and the pane resizes great to fit the proper space, but it doesn't update the scroll buffer of what is visible to select. I am selecting songs below the visible song list, because they are still selectable in the current scroll buffer from the tmux resize. ![Scroll not in view](https://user-images.githubusercontent.com/37026871/66340711-c927f400-e913-11e9-8171-b1ba3ed11a75.gif)
kerem closed this issue 2026-02-28 14:46:19 +03:00
Author
Owner

@Rigellute commented on GitHub (Oct 7, 2019):

Ah good point, this needs to be fixed.

<!-- gh-comment-id:539166279 --> @Rigellute commented on GitHub (Oct 7, 2019): Ah good point, this needs to be fixed.
Author
Owner

@sputnick1124 commented on GitHub (Nov 4, 2019):

I can take this if no one else is working on it!

<!-- gh-comment-id:549353782 --> @sputnick1124 commented on GitHub (Nov 4, 2019): I can take this if no one else is working on it!
Author
Owner

@Rigellute commented on GitHub (Nov 4, 2019):

Please do @sputnick1124
I think the fix would entail figuring out how many rows would fit in the current window and also using that number as the spotify limit for results.

<!-- gh-comment-id:549366669 --> @Rigellute commented on GitHub (Nov 4, 2019): Please do @sputnick1124 I think the fix would entail figuring out how many rows would fit in the current window and also using that number as the spotify limit for results.
Author
Owner

@Rigellute commented on GitHub (Nov 4, 2019):

Fixed by @sputnick1124

<!-- gh-comment-id:549506763 --> @Rigellute commented on GitHub (Nov 4, 2019): Fixed by @sputnick1124
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/spotify-tui#7
No description provided.