Skip to content

Commit 85aba35

Browse files
committed
apollon
1 parent be49ac0 commit 85aba35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/view_filesystems.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66

77
tea "github.com/charmbracelet/bubbletea"
88
"github.com/charmbracelet/lipgloss"
9-
"github.com/charmbracelet/x/ansi"
109

1110
"github.com/lobis/eos-tui/eos"
1211
)
@@ -278,7 +277,8 @@ func (m model) renderApollonDrainConfirmPopup() string {
278277
confirmBtn = m.styles.selected.Render(confirmBtn)
279278
}
280279

281-
commandLines := strings.Split(ansi.Hardwrap(m.apollon.command, 72, true), "\n")
280+
// Show the command without wrapping so it's easy to copy.
281+
commandLines := []string{m.apollon.command}
282282
lines := []string{
283283
m.styles.popupTitle.Render("Confirm Apollon Drain"),
284284
fmt.Sprintf("Filesystem: %s (id %d)", m.apollon.fsPath, m.apollon.fsID),

0 commit comments

Comments
 (0)