Rigellute / spotify-tui

Spotify for the terminal written in Rust 🚀
MIT License
17.34k stars 518 forks source link

handling of terminal resizes #383

Open blueforesticarus opened 4 years ago

blueforesticarus commented 4 years ago

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

blueforesticarus commented 4 years ago

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.

blueforesticarus commented 4 years ago

This is probably related to #116

alichtman commented 4 years ago

image

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