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
2 changes: 1 addition & 1 deletion cmd/cognitiveos-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"os/exec"
"time"

"github.com/CognitiveOS-Project/cli/internal/client"
"github.com/CognitiveOS-Project/cli/internal/cli"
"github.com/CognitiveOS-Project/cli/internal/client"
"github.com/CognitiveOS-Project/cli/internal/tui"
tea "github.com/charmbracelet/bubbletea"
)
Expand Down
14 changes: 7 additions & 7 deletions internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ type Envelope struct {
}

type Conn struct {
conn *net.UnixConn
reader *bufio.Scanner
encoder *json.Encoder
mu sync.Mutex
done chan struct{}
conn *net.UnixConn
reader *bufio.Scanner
encoder *json.Encoder
mu sync.Mutex
done chan struct{}
closeOnce sync.Once
Messages chan Envelope
Address string
Messages chan Envelope
Address string
}

func New(address string) *Conn {
Expand Down
10 changes: 5 additions & 5 deletions internal/tui/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ type Model struct {
Paths []string `json:"paths"`
}

actions []string
actionIdx int
showActions bool
scrollOffset int
waveformIdx int
actions []string
actionIdx int
showActions bool
scrollOffset int
waveformIdx int
waveformFrames []string
}

Expand Down
2 changes: 1 addition & 1 deletion internal/tui/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var (
Width(46)

maskedInputStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#F59E0B"))
Foreground(lipgloss.Color("#F59E0B"))

codeHintStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#9CA3AF")).
Expand Down
Loading