chore: change the min width to 120

Kujtim Hoxha created

Change summary

internal/tui/components/dialogs/commands/commands.go | 2 +-
internal/tui/page/chat/chat.go                       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

internal/tui/components/dialogs/commands/commands.go 🔗

@@ -264,7 +264,7 @@ func (c *commandDialogCmp) defaultCommands() []Command {
 		})
 	}
 	// Only show toggle compact mode command if window width is larger than compact breakpoint (90)
-	if c.wWidth > 90 && c.sessionID != "" {
+	if c.wWidth > 120 && c.sessionID != "" {
 		commands = append(commands, Command{
 			ID:          "toggle_sidebar",
 			Title:       "Toggle Sidebar",

internal/tui/page/chat/chat.go 🔗

@@ -26,7 +26,7 @@ import (
 
 var ChatPageID page.PageID = "chat"
 
-const CompactModeBreakpoint = 90 // Width at which the chat page switches to compact mode
+const CompactModeBreakpoint = 120 // Width at which the chat page switches to compact mode
 
 type (
 	OpenFilePickerMsg struct{}