edit write clipboard

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-19 23:00:41 +02:00
parent 905013943d
commit 746f1afd1b
5 changed files with 36 additions and 31 deletions
-7
View File
@@ -1,9 +1,6 @@
package copy
import (
"encoding/base64"
"fmt"
"os"
"strings"
"charm.land/bubbles/v2/list"
@@ -17,10 +14,6 @@ const (
popupH = 20
)
func WriteClipboard(text string) {
encoded := base64.StdEncoding.EncodeToString([]byte(text))
fmt.Fprintf(os.Stderr, "\033]52;c;%s\a", encoded)
}
type OpenMsg struct {
RawRequest string