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