implement copy paste much wow can you believe we went this long without it so stupid i blame adam

This commit is contained in:
Dax Raad
2025-07-20 19:05:38 -04:00
parent 733c9903ec
commit adc8b90e0f
3 changed files with 131 additions and 6 deletions

View File

@@ -829,7 +829,7 @@ func (a appModel) executeCommand(command commands.Command) (tea.Model, tea.Cmd)
return a, toast.NewErrorToast("Failed to share session")
}
shareUrl := response.Share.URL
cmds = append(cmds, a.app.SetClipboard(shareUrl))
cmds = append(cmds, app.SetClipboard(shareUrl))
cmds = append(cmds, toast.NewSuccessToast("Share URL copied to clipboard!"))
case commands.SessionUnshareCommand:
if a.app.Session.ID == "" {