Skip to content

Commit 52a3cc3

Browse files
committed
all: doc updates
1 parent 778b233 commit 52a3cc3

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ RUN apt-get update \
1111
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1212
WORKDIR /app
1313
COPY . .
14-
CMD [ "sh", "-c", "./test.sh" ]
14+
CMD [ "sh", "-c", "./test-docker.sh" ]

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clipboard [![PkgGoDev](https://pkg.go.dev/badge/golang.design/x/clipboard)](https://pkg.go.dev/golang.design/x/clipboard) ![](https://changkun.de/urlstat?mode=github&repo=golang-design/clipboard) ![clipboard](https://github.com/golang-design/clipboard/workflows/clipboard/badge.svg?branch=main)
22

3-
clipboard access with Go
3+
cross platform clipboard access in Go
44

55
```go
66
import "golang.design/x/clipboard"
@@ -29,14 +29,13 @@ clipboard.Read(clipboard.MIMEImage)
2929

3030
## Notes
3131

32-
To obtain image data to the clipboard, you can:
32+
To put image data to system clipboard, you could:
3333

34-
- On macOS, Ctrl+Shift+Cmd+4
35-
- On Linux/Ubuntu, Ctrl+Shift+PrintScreen
34+
- On macOS, using shortcut Ctrl+Shift+Cmd+4
35+
- On Linux/Ubuntu, using Ctrl+Shift+PrintScreen
3636

37-
The package currently supports read/write plain text string or image data
38-
with PNG format. The other types of data are not supported, as undefined
39-
behavior.
37+
The package supports read/write plain text or PNG encoded image data.
38+
The other types of data are not supported yet, i.e. undefined behavior.
4039

4140
## License
4241

testdata/clipboard.png

7.49 KB
Loading

0 commit comments

Comments
 (0)