mirror of
https://github.com/Hopiu/micro.git
synced 2026-05-21 04:41:53 +00:00
Merge pull request #115 from onodera-punpun/copypaste_feedback
Add copy feedback
This commit is contained in:
commit
94d2bc3cb0
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue