[PR #835] Added autocompleteMatchFieldWidth #1056

Open
opened 2026-03-04 01:09:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rivo/tview/pull/835
Author: @akurdunkar
Created: 4/6/2023
Status: 🔄 Open

Base: masterHead: autocompletewidth


📝 Commits (2)

  • 1ada6e5 Added autocompleteMatchFieldWidth
  • 53a6ae3 use fieldWidth instead of i.fieldWidth

📊 Changes

1 file changed (+19 additions, -6 deletions)

View changed files

📝 inputfield.go (+19 -6)

📄 Description

if autocompleteMatchFieldWidth is set to true the width of the autocomplete list matches the fieldWidth of the input field.

Fixes #834


🔄 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/rivo/tview/pull/835 **Author:** [@akurdunkar](https://github.com/akurdunkar) **Created:** 4/6/2023 **Status:** 🔄 Open **Base:** `master` ← **Head:** `autocompletewidth` --- ### 📝 Commits (2) - [`1ada6e5`](https://github.com/rivo/tview/commit/1ada6e5074789789367f27a4b135f280598f851e) Added `autocompleteMatchFieldWidth` - [`53a6ae3`](https://github.com/rivo/tview/commit/53a6ae33758e7baab0cbae8b6c66c8e806f1a2f6) use fieldWidth instead of i.fieldWidth ### 📊 Changes **1 file changed** (+19 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `inputfield.go` (+19 -6) </details> ### 📄 Description if `autocompleteMatchFieldWidth` is set to true the width of the autocomplete list matches the `fieldWidth` of the input field. Fixes #834 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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/tview#1056
No description provided.