quick fix

This commit is contained in:
Ksan 2026-04-14 13:32:17 +02:00
parent 81c98245a4
commit c648a982f1

View File

@ -197,7 +197,7 @@ func (m model) View() string {
for i, section := range m.sections { for i, section := range m.sections {
if i == m.selected { if i == m.selected {
output += selectedSectionStyle.Render("- "+section) + "\n" output += selectedSectionStyle.Render("-> "+section) + "\n"
} else { } else {
output += sectionStyle.Render("- "+section) + "\n" output += sectionStyle.Render("- "+section) + "\n"
@ -337,7 +337,8 @@ func main() {
initLogger() initLogger()
server, _ := wish.NewServer( server, _ := wish.NewServer(
wish.WithAddress("0.0.0.0:2222"), //TODO change port later cant currently will break ssh connection to remote server
wish.WithAddress("0.0.0.0:25565"),
wish.WithHostKeyPath(".ssh/host_ed25519"), wish.WithHostKeyPath(".ssh/host_ed25519"),
wish.WithMiddleware(wishtea.Middleware(teaHandler)), wish.WithMiddleware(wishtea.Middleware(teaHandler)),
) )