mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 14:47:16 +09:00
@@ -810,7 +810,11 @@ func (h *BufPane) Copy() bool {
|
|||||||
if h.Cursor.HasSelection() {
|
if h.Cursor.HasSelection() {
|
||||||
h.Cursor.CopySelection("clipboard")
|
h.Cursor.CopySelection("clipboard")
|
||||||
h.freshClip = true
|
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()
|
h.Relocate()
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user