implement copy paste much wow can you believe we went this long without it so stupid i blame adam
This commit is contained in:
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user