From feb8177c3670d3bbe3e58387842df1582b09a2b9 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 30 Jun 2025 22:43:04 +0200 Subject: [PATCH] chore: small fixes --- internal/lsp/client.go | 4 ++-- internal/tui/components/dialogs/models/keys.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/lsp/client.go b/internal/lsp/client.go index c04f10a8a924f8725609aace7d5363fe1751a791..24ff0238c355edb5499640b93f9e06f0f07568c9 100644 --- a/internal/lsp/client.go +++ b/internal/lsp/client.go @@ -96,10 +96,10 @@ func NewClient(ctx context.Context, command string, args ...string) (*Client, er go func() { scanner := bufio.NewScanner(stderr) for scanner.Scan() { - fmt.Fprintf(os.Stderr, "LSP Server: %s\n", scanner.Text()) + logging.Error("LSP Server", "err", scanner.Text()) } if err := scanner.Err(); err != nil { - fmt.Fprintf(os.Stderr, "Error reading stderr: %v\n", err) + logging.Error("Error reading", "err", err) } }() diff --git a/internal/tui/components/dialogs/models/keys.go b/internal/tui/components/dialogs/models/keys.go index dd34f82860b21a98a6ae4a5eea57aa052b383f33..bb70785172bac66d9fda905172572c881b2ecd35 100644 --- a/internal/tui/components/dialogs/models/keys.go +++ b/internal/tui/components/dialogs/models/keys.go @@ -28,7 +28,7 @@ func DefaultKeyMap() KeyMap { ), Tab: key.NewBinding( key.WithKeys("tab"), - key.WithHelp("tab", "toggle model type"), + key.WithHelp("tab", "toggle type"), ), Close: key.NewBinding( key.WithKeys("esc"),