This commit is contained in:
2025-06-01 21:26:55 +01:00
parent e857bca00d
commit 36868d46f4

View File

@ -4,6 +4,7 @@ import (
"context" "context"
"errors" "errors"
"flag" "flag"
"fmt"
"net" "net"
"os" "os"
"os/signal" "os/signal"
@ -109,6 +110,7 @@ func initialModel(renderer *lipgloss.Renderer, w int, h int) model {
} }
list := list.New(listItems, list.NewDefaultDelegate(), w, h-4) list := list.New(listItems, list.NewDefaultDelegate(), w, h-4)
list.Styles.TitleBar = renderer.NewStyle()
list.SetShowTitle(false) list.SetShowTitle(false)
// -1 to allow for the initial height of the nav model // -1 to allow for the initial height of the nav model
@ -298,6 +300,8 @@ func main() {
flag.Parse() flag.Parse()
fmt.Println(os.Environ())
if isSsh { if isSsh {
initServer() initServer()
} else { } else {