From fee79bdc4b0bbc408d3f1f7c6a3abea8f287c058 Mon Sep 17 00:00:00 2001 From: citrons Date: Wed, 4 Jun 2025 12:17:27 -0500 Subject: background color tweak --- client/buffer/buffer.go | 2 +- client/cmd_window.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/buffer/buffer.go b/client/buffer/buffer.go index 99d4ef2..9750932 100644 --- a/client/buffer/buffer.go +++ b/client/buffer/buffer.go @@ -96,7 +96,7 @@ func (b *Buffer) AtTop() bool { func (b *Buffer) Show(id string) (atTop bool) { tui.Push(id, tui.Box { Width: tui.Fill, Height: tui.Fill, Dir: tui.Up, Overflow: true, - Scroll: &b.scroll, + Style: &tui.Style {Fg: tui.White, Bg: 232}, Scroll: &b.scroll, }) defer tui.Pop() diff --git a/client/cmd_window.go b/client/cmd_window.go index c423b87..e8dcaed 100644 --- a/client/cmd_window.go +++ b/client/cmd_window.go @@ -86,7 +86,10 @@ func (w *cmdWindow) showPreview() { Width: tui.Fill, Height: tui.Children, }) - tui.Push(msg.Id(), tui.Box {Width: tui.Fill, Height: tui.Children}) + tui.Push(msg.Id(), tui.Box { + Width: tui.Fill, Height: tui.Children, + Style: &tui.Style {Fg: tui.White, Bg: colorDefault[bottom.IsOdd()]}, + }) msg.Show(bottom.IsOdd()) tui.Pop() -- cgit v1.2.3