1// Copyright 2013 @atotto. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Package clipboard read/write on clipboard
6package clipboard
7
8// ReadAll read string from clipboard
9func ReadAll() (string, error) {
10 return readAll()
11}
12
13// WriteAll write string to clipboard
14func WriteAll(text string) error {
15 return writeAll(text)
16}
17
18// Unsupported might be set true during clipboard init, to help callers decide
19// whether or not to offer clipboard options.
20var Unsupported bool