1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

clipboard: fix mutability on macOS and Windows

This commit is contained in:
Alexander Medvednikov
2019-12-07 15:22:28 +03:00
parent c2814c1ada
commit a854d396ff
2 changed files with 14 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ pub fn (cb mut Clipboard) paste() string {
// clear the clipboard
pub fn (cb mut Clipboard) clear_all() {
cb.clear()
}
}
// destroy the clipboard
pub fn (cb mut Clipboard) destroy() {