mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Merge pull request #115 from onodera-punpun/copypaste_feedback
Add copy feedback
This commit is contained in:
@@ -668,6 +668,7 @@ func (v *View) Copy() bool {
|
|||||||
if v.Cursor.HasSelection() {
|
if v.Cursor.HasSelection() {
|
||||||
clipboard.WriteAll(v.Cursor.GetSelection())
|
clipboard.WriteAll(v.Cursor.GetSelection())
|
||||||
v.freshClip = true
|
v.freshClip = true
|
||||||
|
messenger.Message("Copied selection to clipboard")
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user