mirror of
https://github.com/Hopiu/micro.git
synced 2026-05-28 07:58:17 +00:00
parent
ff24ad5fa8
commit
9b03a3dc6d
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue