[GH-ISSUE #383] handling of terminal resizes #158

Open
opened 2026-02-28 14:47:26 +03:00 by kerem · 3 comments
Owner

Originally created by @blueforesticarus on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/383

If I open spt in a terminal that is too short to show the playist menu, then resize so that that playlists are visible, the playlist menu remains empty

$ spt --version
spotify-tui 0.17.1

screenshot:
image

If the window opens with only enough space for a couple playlists, then arrow keys only cycles between those three. After resize those are the only three displayed and still can only cycle through those three.

image

image

Originally created by @blueforesticarus on GitHub (Apr 8, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/383 If I open spt in a terminal that is too short to show the playist menu, then resize so that that playlists are visible, the playlist menu remains empty ``` $ spt --version spotify-tui 0.17.1 ``` screenshot: ![image](https://user-images.githubusercontent.com/6549542/78740738-90e68a00-7925-11ea-903d-b13f31042bd9.png) If the window opens with only enough space for a couple playlists, then arrow keys only cycles between those three. After resize those are the only three displayed and still can only cycle through those three. ![image](https://user-images.githubusercontent.com/6549542/78741130-92648200-7926-11ea-8d06-04f4bab0b3f8.png) ![image](https://user-images.githubusercontent.com/6549542/78741146-9d1f1700-7926-11ea-9736-aa4778ce28d7.png)
Author
Owner

@blueforesticarus commented on GitHub (Apr 8, 2020):

Come to find, even when opened fullscreen, some entries from playlist are missing. I'm getting (however many lines fit in the playlist box) + 3 or so.

<!-- gh-comment-id:610733214 --> @blueforesticarus commented on GitHub (Apr 8, 2020): Come to find, even when opened fullscreen, some entries from playlist are missing. I'm getting (however many lines fit in the playlist box) + 3 or so.
Author
Owner

@blueforesticarus commented on GitHub (Apr 8, 2020):

This is probably related to #116

<!-- gh-comment-id:611036413 --> @blueforesticarus commented on GitHub (Apr 8, 2020): This is probably related to #116
Author
Owner

@alichtman commented on GitHub (Jul 1, 2020):

image

The songs window is also sometimes not filled up on larger screens.

<!-- gh-comment-id:652330582 --> @alichtman commented on GitHub (Jul 1, 2020): ![image](https://user-images.githubusercontent.com/20600565/86232656-e663b900-bb59-11ea-9b9d-cefb83a42276.png) The songs window is also sometimes not filled up on larger screens.
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#158
No description provided.