From d1633e905a1487e8845088c03db8faf53d587e46 Mon Sep 17 00:00:00 2001 From: ewy Date: Sat, 2 May 2026 19:08:49 +0200 Subject: trim right side space in viewport --- menu/state.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'menu/state.go') diff --git a/menu/state.go b/menu/state.go index 3a46132..55da10b 100644 --- a/menu/state.go +++ b/menu/state.go @@ -19,9 +19,12 @@ func (m *Model) State() string { sources := make([]string, 0, len(st.Sources)) for i, hs := range st.HydratedSources { src := m.Source(hs) + + // do not pad the bottom source, the motd goes there if i != len(st.HydratedSources)-1 { src += "\n" } + sources = append(sources, src) } -- cgit v1.3.1