Skip to content

Commit

Permalink
chore: Fix lint on main (#386)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav authored Oct 8, 2023
1 parent c37f95a commit 8792438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package main
import (
"encoding/json"
"fmt"
"github.com/atotto/clipboard"
"io"
"os"
"os/exec"
"strconv"
"strings"
"time"

"github.com/atotto/clipboard"
"github.com/go-rod/rod/lib/input"
"github.com/mattn/go-runewidth"
)
Expand Down Expand Up @@ -264,10 +264,12 @@ func ExecuteOutput(c Command, v *VHS) {
}
}

// ExecuteCopy copies text to the clipboard.
func ExecuteCopy(c Command, _ *VHS) {
_ = clipboard.WriteAll(c.Args)
}

// ExecutePaste pastes text from the clipboard.
func ExecutePaste(_ Command, v *VHS) {
clip, err := clipboard.ReadAll()
if err != nil {
Expand Down

0 comments on commit 8792438

Please sign in to comment.