fix: vscode extension cursor placement

This commit is contained in:
adamdotdevin
2025-08-12 08:48:32 -05:00
parent a071a2b7f4
commit 3530885f48
2 changed files with 8 additions and 7 deletions

View File

@@ -83,10 +83,10 @@ func (c *commandsComponent) View() string {
} }
commandsToShow = append(commandsToShow, commandsToShow = append(commandsToShow,
// empty line // empty line
commands.Command{ // commands.Command{
Name: "", // Name: "",
Description: "", // Description: "",
}, // },
commands.Command{ commands.Command{
Name: commands.CommandName(util.Ide()), Name: commands.CommandName(util.Ide()),
Description: "open opencode", Description: "open opencode",

View File

@@ -6,11 +6,11 @@ import (
) )
var SUPPORTED_IDES = []struct { var SUPPORTED_IDES = []struct {
Search string Search string
ShortName string ShortName string
}{ }{
{"Windsurf", "Windsurf"}, {"Windsurf", "Windsurf"},
{"Visual Studio Code", "VS Code"}, {"Visual Studio Code", "vscode"},
{"Cursor", "Cursor"}, {"Cursor", "Cursor"},
{"VSCodium", "VSCodium"}, {"VSCodium", "VSCodium"},
} }
@@ -28,3 +28,4 @@ func Ide() string {
return "unknown" return "unknown"
} }