[PR #183] [MERGED] 175: Fix cursor offset in search input #656

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

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/183
Author: @Rigellute
Created: 12/2/2019
Status: Merged
Merged: 12/2/2019
Merged by: @Rigellute

Base: masterHead: 175


📝 Commits (1)

  • c03ef1d 175: Fix cursor offset in search input

📊 Changes

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

View changed files

📝 src/main.rs (+7 -1)
📝 src/ui/mod.rs (+7 -1)

📄 Description

On smaller height terminals, the cursor position was off.

Fix is to apply the same offset differences on small/large terminals as is applied to the margin.

This commit closes https://github.com/Rigellute/spotify-tui/issues/175


🔄 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/183 **Author:** [@Rigellute](https://github.com/Rigellute) **Created:** 12/2/2019 **Status:** ✅ Merged **Merged:** 12/2/2019 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `175` --- ### 📝 Commits (1) - [`c03ef1d`](https://github.com/Rigellute/spotify-tui/commit/c03ef1de479b599f0b6cfa16955350b6173307b5) 175: Fix cursor offset in search input ### 📊 Changes **2 files changed** (+14 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+7 -1) 📝 `src/ui/mod.rs` (+7 -1) </details> ### 📄 Description On smaller height terminals, the cursor position was off. Fix is to apply the same offset differences on small/large terminals as is applied to the margin. This commit closes https://github.com/Rigellute/spotify-tui/issues/175 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:50:22 +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#656
No description provided.