mirror of https://github.com/atom/atom.git
Merge pull request #20098 from atom/window-spec-suite
Fixed unable to copy selected text from spec-suite window
This commit is contained in:
commit
83ff98c1ee
|
@ -61,8 +61,8 @@ module.exports = ({blobStore}) ->
|
|||
|
||||
# Copy: cmd-c / ctrl-c
|
||||
if (event.metaKey or event.ctrlKey) and event.keyCode is 67
|
||||
ipcHelpers.call('window-method', 'copy')
|
||||
|
||||
atom.clipboard.write(window.getSelection().toString())
|
||||
|
||||
window.addEventListener('keydown', handleKeydown, true)
|
||||
|
||||
# Add 'exports' to module search path.
|
||||
|
|
Loading…
Reference in New Issue