mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: replace go
with spawn
This commit is contained in:
@@ -195,7 +195,7 @@ fn new_x11_clipboard(selection AtomType) &Clipboard {
|
||||
cb.selection = cb.get_atom(selection)
|
||||
// start the listener on another thread or
|
||||
// we will be locked and will have to hard exit
|
||||
go cb.start_listener()
|
||||
spawn cb.start_listener()
|
||||
return cb
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user