mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 06:30:28 +09:00
Only use internal clipboard on error
This commit is contained in:
@@ -42,7 +42,9 @@ func Initialize(m Method) error {
|
||||
case External:
|
||||
err = clipboard.Initialize()
|
||||
}
|
||||
CurrentMethod = Internal
|
||||
if err != nil {
|
||||
CurrentMethod = Internal
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user