Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions completer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package console
import (
"strings"

"github.com/carapace-sh/carapace"
"github.com/carapace-sh/carapace/pkg/style"
completer "github.com/carapace-sh/carapace/pkg/x"
"github.com/reeflective/readline"
"github.com/rsteube/carapace"
"github.com/rsteube/carapace/pkg/style"
completer "github.com/rsteube/carapace/pkg/x"

"github.com/reeflective/console/internal/completion"
"github.com/reeflective/console/internal/line"
Expand Down Expand Up @@ -131,7 +131,7 @@ func (c *Console) highlightSyntax(input []rune) string {
done = append(done, remain...)

// Join all words.
highlighted := strings.Join(done, "")
highlighted := strings.Join(done, "")

return highlighted
}
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ go 1.23.6

require (
github.com/carapace-sh/carapace v1.7.1
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc5
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/reeflective/readline v1.1.3
github.com/rsteube/carapace v0.46.3-0.20231214181515-27e49f3c3b69
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.6
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac
Expand All @@ -17,7 +16,6 @@ require (
github.com/carapace-sh/carapace-shlex v1.0.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rsteube/carapace-shlex v0.1.1 // indirect
golang.org/x/sys v0.32.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions internal/completion/complete.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"github.com/rsteube/carapace/pkg/style"
"github.com/rsteube/carapace/pkg/xdg"
"github.com/carapace-sh/carapace/pkg/style"
"github.com/carapace-sh/carapace/pkg/xdg"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
)
Expand Down
Loading