mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update clipboard and add CYGWIN
This commit is contained in:
parent
255e47b376
commit
5a80dd3332
@ -14,7 +14,7 @@
|
||||
#endif /* IS_MACOSX */
|
||||
|
||||
#if !defined(IS_WINDOWS) && (defined(WIN32) || defined(_WIN32) || \
|
||||
defined(__WIN32__) || defined(__WINDOWS__))
|
||||
defined(__WIN32__) || defined(__WINDOWS__) || defined(__CYGWIN__))
|
||||
#define IS_WINDOWS
|
||||
#endif /* IS_WINDOWS */
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build freebsd linux netbsd openbsd solaris
|
||||
// +build freebsd linux netbsd openbsd solaris dragonfly
|
||||
|
||||
package clipboard
|
||||
|
||||
|
@ -14,6 +14,7 @@ func Example() {
|
||||
} else {
|
||||
if text != "" {
|
||||
fmt.Println(text)
|
||||
|
||||
// Output:
|
||||
// 日本語
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user