Add xclip message for pasting if unsupported
This commit is contained in:
parent
f874377573
commit
d83b912b3b
1 changed files with 5 additions and 1 deletions
|
@ -986,7 +986,11 @@ func (h *BufPane) paste(clip string) {
|
|||
h.Buf.Insert(h.Cursor.Loc, clip)
|
||||
// h.Cursor.Loc = h.Cursor.Loc.Move(Count(clip), h.Buf)
|
||||
h.freshClip = false
|
||||
InfoBar.Message("Pasted clipboard")
|
||||
if clipboard.Unsupported {
|
||||
InfoBar.Message("Pasted clipboard (install xclip for external clipboard)")
|
||||
} else {
|
||||
InfoBar.Message("Pasted clipboard")
|
||||
}
|
||||
}
|
||||
|
||||
// JumpToMatchingBrace moves the cursor to the matching brace if it is
|
||||
|
|
Loading…
Reference in a new issue