mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 06:40:24 +09:00
@@ -810,7 +810,11 @@ func (h *BufPane) Copy() bool {
|
||||
if h.Cursor.HasSelection() {
|
||||
h.Cursor.CopySelection("clipboard")
|
||||
h.freshClip = true
|
||||
InfoBar.Message("Copied selection")
|
||||
if clipboard.Unsupported {
|
||||
InfoBar.Message("Copied selection (install xclip for external clipboard)")
|
||||
} else {
|
||||
InfoBar.Message("Copied selection")
|
||||
}
|
||||
}
|
||||
h.Relocate()
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user