From adc8b90e0fc8119d0889cfe20813bd2da7a36758 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 20 Jul 2025 19:05:38 -0400 Subject: implement copy paste much wow can you believe we went this long without it so stupid i blame adam --- packages/tui/internal/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/tui/internal/app') diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go index 8f7e27935..b73cfc3cd 100644 --- a/packages/tui/internal/app/app.go +++ b/packages/tui/internal/app/app.go @@ -191,7 +191,7 @@ func (a *App) Key(commandName commands.CommandName) string { return base(key) + muted(" "+command.Description) } -func (a *App) SetClipboard(text string) tea.Cmd { +func SetClipboard(text string) tea.Cmd { var cmds []tea.Cmd cmds = append(cmds, func() tea.Msg { clipboard.Write(clipboard.FmtText, []byte(text)) -- cgit v1.2.3