The open source coding agent.
TypeScript
fix: vscode extension cursor placement
adamdotdevin3530885f48df
diff --git a/packages/tui/internal/components/commands/commands.go b/packages/tui/internal/components/commands/commands.goindex b8e7871ce3d..fd578a41b1f 100644--- a/packages/tui/internal/components/commands/commands.go+++ b/packages/tui/internal/components/commands/commands.go@@ -83,10 +83,10 @@ func (c *commandsComponent) View() string {}commandsToShow = append(commandsToShow,// empty line- commands.Command{- Name: "",- Description: "",- },+ // commands.Command{+ // Name: "",+ // Description: "",+ // },commands.Command{Name: commands.CommandName(util.Ide()),Description: "open opencode",diff --git a/packages/tui/internal/util/ide.go b/packages/tui/internal/util/ide.goindex 5d0402b4b58..7b3832f9b5e 100644--- a/packages/tui/internal/util/ide.go+++ b/packages/tui/internal/util/ide.go@@ -6,11 +6,11 @@ import ()var SUPPORTED_IDES = []struct {- Search string+ Search stringShortName string}{{"Windsurf", "Windsurf"},- {"Visual Studio Code", "VS Code"},+ {"Visual Studio Code", "vscode"},{"Cursor", "Cursor"},{"VSCodium", "VSCodium"},}@@ -27,4 +27,5 @@ func Ide() string {}return "unknown"-}\ No newline at end of file+}+