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
4 changes: 2 additions & 2 deletions cmd/tusshi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

"tusshi/pkg/config"
"tusshi/pkg/tui"
"tusshi/internal/config"
"tusshi/internal/tui"

tea "github.com/charmbracelet/bubbletea"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions pkg/tui/commands.go → internal/tui/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"strings"

"tusshi/pkg/tui/commands"
"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/commands"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"strings"

"tusshi/pkg/config"
"tusshi/pkg/validation"
"tusshi/internal/config"
"tusshi/internal/validation"
)

const tabAll = "All"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"fmt"

"tusshi/pkg/config"
"tusshi/internal/config"
)

// Delete returns a function that executes the deletion of a host connection.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/tui/commands/move.go → internal/tui/commands/move.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"
"strings"

"tusshi/pkg/config"
"tusshi/internal/config"
)

// Move handles moving a connection from one configuration file/tab to another.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package components

import (
"strings"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"
"testing"

"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package components

import (
"strings"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"
"testing"

"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package components_test
import (
"testing"

"tusshi/pkg/tui/components"
"tusshi/internal/tui/components"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/huh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package components
import (
"fmt"
"strings"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"
"testing"

"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

tea "github.com/charmbracelet/bubbletea"
)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pkg/tui/forms.go → internal/tui/forms.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package tui
import (
"path/filepath"

"tusshi/pkg/config"
"tusshi/pkg/validation"
"tusshi/internal/config"
"tusshi/internal/validation"

"github.com/charmbracelet/huh"
)
Expand Down
8 changes: 4 additions & 4 deletions pkg/tui/keybinds.go → internal/tui/keybinds.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package tui
import (
"fmt"

"tusshi/pkg/ssh"
"tusshi/pkg/tui/commands"
"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/ssh"
"tusshi/internal/tui/commands"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
Expand Down
6 changes: 3 additions & 3 deletions pkg/tui/model.go → internal/tui/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"path/filepath"
"strings"

"tusshi/pkg/config"
"tusshi/pkg/tui/components"
"tusshi/pkg/tui/theme"
"tusshi/internal/config"
"tusshi/internal/tui/components"
"tusshi/internal/tui/theme"

"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
Expand Down
6 changes: 3 additions & 3 deletions pkg/tui/ping.go → internal/tui/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"strings"
"time"
"tusshi/pkg/config"
"tusshi/pkg/ping"
"tusshi/pkg/tui/style"
"tusshi/internal/config"
"tusshi/internal/ping"
"tusshi/internal/tui/style"

tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
Expand Down
2 changes: 1 addition & 1 deletion pkg/tui/style/styles.go → internal/tui/style/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package style

import (
"tusshi/pkg/tui/theme"
"tusshi/internal/tui/theme"

"github.com/charmbracelet/lipgloss"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/tui/tui_test.go → internal/tui/tui_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"
"testing"

"tusshi/pkg/config"
"tusshi/internal/config"

tea "github.com/charmbracelet/bubbletea"
"github.com/stretchr/testify/assert"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/tui/view.go → internal/tui/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package tui
import (
"regexp"
"strings"
"tusshi/pkg/tui/style"
"tusshi/internal/tui/style"

"github.com/charmbracelet/lipgloss"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tui/view_footer.go → internal/tui/view_footer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tui

import (
"tusshi/pkg/tui/style"
"tusshi/internal/tui/style"

"github.com/charmbracelet/lipgloss"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/tui/view_header.go → internal/tui/view_header.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tui

import (
"tusshi/pkg/tui/style"
"tusshi/internal/tui/style"

"github.com/charmbracelet/lipgloss"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/tui/view_table.go → internal/tui/view_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package tui
import (
"fmt"
"strings"
"tusshi/pkg/config"
"tusshi/pkg/tui/style"
"tusshi/internal/config"
"tusshi/internal/tui/style"

"github.com/charmbracelet/lipgloss"
)
Expand Down
File renamed without changes.
Loading