[PR #664] [MERGED] Fix issue #508 by calculating space manually #958

Closed
opened 2026-02-28 14:53:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/664
Author: @OrangeFran
Created: 11/22/2020
Status: Merged
Merged: 11/24/2020
Merged by: @Rigellute

Base: masterHead: center_basic_view


📝 Commits (1)

📊 Changes

2 files changed (+18 additions, -14 deletions)

View changed files

📝 src/ui/mod.rs (+17 -14)
📝 src/ui/util.rs (+1 -0)

📄 Description

This commit improves the centering of the basic_view_widget and thus
fixeds the issue #508 by manually calculating the space between the top
and the bottom bezel of the terminal. Improved version of #509.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Rigellute/spotify-tui/pull/664 **Author:** [@OrangeFran](https://github.com/OrangeFran) **Created:** 11/22/2020 **Status:** ✅ Merged **Merged:** 11/24/2020 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `center_basic_view` --- ### 📝 Commits (1) - [`d13f983`](https://github.com/Rigellute/spotify-tui/commit/d13f98383aa2657b68cae41a3d76dc7d0d78d8ef) Fix issue #508 by calculating space manually ### 📊 Changes **2 files changed** (+18 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/ui/mod.rs` (+17 -14) 📝 `src/ui/util.rs` (+1 -0) </details> ### 📄 Description This commit improves the centering of the basic_view_widget and thus fixeds the issue #508 by manually calculating the space between the top and the bottom bezel of the terminal. Improved version of #509. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:53:58 +03:00
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#958
No description provided.