mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Use src/native-clipboard in TextEditorComponent
This commit is contained in:
@@ -556,7 +556,7 @@ class TextEditorComponent
|
||||
|
||||
pasteSelectionClipboard = (event) =>
|
||||
if event?.which is 2 and process.platform is 'linux'
|
||||
if selection = require('clipboard').readText('selection')
|
||||
if selection = require('./native-clipboard').readText('selection')
|
||||
@editor.insertText(selection)
|
||||
|
||||
window.addEventListener('mousemove', onMouseMove)
|
||||
|
||||
Reference in New Issue
Block a user