mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[PR #523] [CLOSED] Apply background colour when drawing Box border #975
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#975
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/523
Author: @berrange
Created: 11/5/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
da9053aApply background colour when drawing Box border📊 Changes
1 file changed (+10 additions, -8 deletions)
View changed files
📝
box.go(+10 -8)📄 Description
The borderStyle field only encodes the foreground colour of the border,
leaving the background to inherit from the terminal default theme. This
often means the border is draw white-on-white, which is a regression
introduced by the tcell v2 update.
It needs to honour the background colour set for the Box instance
when drawing the border.
Fixes: https://github.com/rivo/tview/issues/521
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.