mirror of
https://github.com/atom/atom.git
synced 2026-02-10 22:55:09 -05:00
Use window.pasteboard in cut/copy/paste
This commit is contained in:
@@ -202,7 +202,7 @@ class EditSession
|
||||
maintainPasteboard = true
|
||||
|
||||
pasteText: ->
|
||||
@insertText($native.readFromPasteboard(), normalizeIndent: true)
|
||||
@insertText(pasteboard.read()[0], normalizeIndent: true)
|
||||
|
||||
undo: ->
|
||||
@buffer.undo(this)
|
||||
|
||||
Reference in New Issue
Block a user