diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-04 12:17:27 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-07 16:02:18 -0500 |
| commit | fee79bdc4b0bbc408d3f1f7c6a3abea8f287c058 (patch) | |
| tree | 05eabdbe0bb6ea651370287beacece8e9cedc89a | |
| parent | 8dd1c52d45ad0dedb743107bcf255b2822c9501d (diff) | |
background color tweak
| -rw-r--r-- | client/buffer/buffer.go | 2 | ||||
| -rw-r--r-- | client/cmd_window.go | 5 |
2 files changed, 5 insertions, 2 deletions
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() |
