From 6a03835c223d184cbb02d55251bea297f1269a78 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 1 Jun 2025 20:58:20 +0100 Subject: [PATCH] test --- main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.go b/main.go index bbe9a44..284d4fb 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "context" "errors" "flag" + "fmt" "net" "os" "os/signal" @@ -262,12 +263,16 @@ const ( func initServer() { s, err := wish.NewServer( wish.WithAddress(net.JoinHostPort(host, port)), + wish.WithHostKeyPath(".ssh/id_ed25519"), wish.WithMiddleware( bubbletea.Middleware(teaHandler), activeterm.Middleware(), // Bubble Tea apps usually require a PTY. logging.Middleware(), ), ) + + fmt.Println(os.Getenv("TERM")) + if err != nil { log.Error("Could not start server", "error", err) }