From a645df600ac35ce2e30e08140de8ed8f562deac4 Mon Sep 17 00:00:00 2001 From: Andreea Sobon Date: Tue, 5 Jan 2021 09:52:19 -0500 Subject: [PATCH] Update CHANGELOG.md and rephrease test description. --- CHANGELOG.md | 6 ++++++ container/container_test.go | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33ece87..7914479 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0. +### Added + +- TitleColor and TitleFocusedColor options for border title which enables the + setting of separate colors for border and title on a container. + + ## [0.14.0] - 30-Dec-2020 ### Breaking API changes diff --git a/container/container_test.go b/container/container_test.go index 1fcb2a9..2d1d76e 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -1104,7 +1104,7 @@ func TestNew(t *testing.T) { }, }, { - desc: "inherits title color on left child container", + desc: "inherits the border color for the title on left child container when TitleColor is not set", termSize: image.Point{10, 10}, container: func(ft *faketerm.Terminal) (*Container, error) { return New(