diff options
| author | Dax Raad <[email protected]> | 2025-07-20 19:05:38 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-20 19:05:38 -0400 |
| commit | adc8b90e0fc8119d0889cfe20813bd2da7a36758 (patch) | |
| tree | da98509daf5692c6f47875c428512af624b56734 /packages/tui/internal/app | |
| parent | 733c9903ec61e26ac0bdced0697eb5b298cdaef3 (diff) | |
| download | opencode-adc8b90e0fc8119d0889cfe20813bd2da7a36758.tar.gz opencode-adc8b90e0fc8119d0889cfe20813bd2da7a36758.zip | |
implement copy paste much wow can you believe we went this long without it so stupid i blame adam
Diffstat (limited to 'packages/tui/internal/app')
| -rw-r--r-- | packages/tui/internal/app/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
