atom-terminal-tab icon indicating copy to clipboard operation
atom-terminal-tab copied to clipboard

Uncaught TypeError: activeTerminalView.copySelection is not a function

Open johnwebbcole opened this issue 6 years ago • 0 comments

Attempting to copy text from the terminal. ctrl+shfit+c did not work. I then used the command pallet ctrl-shift-p to access Terminal: Copy

image

  1. Select text in editor.
  2. Press ctrl-shift-p and type copy, select Terminal: Copy

Atom: 1.23.3 x64 Electron: 1.6.15 OS: Microsoft Windows 10 Enterprise Thrown From: terminal-tab package 0.4.0

Stack Trace

Uncaught TypeError: activeTerminalView.copySelection is not a function

At D:\wtf8yn\.atom\packages\terminal-tab\lib\terminal.js:96

TypeError: activeTerminalView.copySelection is not a function
    at Object.handleCopy (/packages/terminal-tab/lib/terminal.js:96:24)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/command-registry.js:388:36)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/command-palette/lib/command-palette-view.js:143:35)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:327:26)
    at HTMLDivElement.core:confirm (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:84:20)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/command-registry.js:388:36)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.23.3/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.23.3/resources/app/src/window-event-handler.js:108:40)

Commands

     -4:49.1.0 core:save (input.hidden-input)
     -4:25.2.0 intentions:highlight (input.hidden-input)
     -4:25 core:copy (input.hidden-input)
     -4:14.3.0 editor:select-to-end-of-line (input.hidden-input)
     -4:13.9.0 core:delete (input.hidden-input)
     -4:13.2.0 intentions:highlight (input.hidden-input)
     -4:13.1.0 core:save (input.hidden-input)
 37x -1:45.6.0 intentions:highlight (input.hidden-input)
     -1:43.9.0 core:copy (input.hidden-input)
     -0:58.3.0 intentions:highlight (input.hidden-input)
     -0:57.8.0 editor:toggle-line-comments (input.hidden-input)
     -0:57.6.0 core:save (input.hidden-input)
     -0:20.2.0 editor:copy-path (textarea.xterm-helper-textarea)
     -0:09.8.0 command-palette:toggle (textarea.xterm-helper-textarea)
     -0:08.5.0 core:confirm (input.hidden-input)
     -0:08.5.0 terminal:copy (textarea.xterm-helper-textarea)

Non-Core Packages

atom-beautify 0.30.9 
atom-clock 0.1.16 
atom-ternjs 0.18.3 
auto-update-plus 0.5.6 
autoclose-html 0.23.0 
autocomplete-modules 1.10.0 
autocomplete-paths 2.12.2 
browser-plus 0.0.98 
busy-signal 1.4.3 
copy-with-style 1.1.0 
copy-with-syntax 0.0.3 
docblockr 0.13.6 
editorconfig 2.2.2 
eslint-fixer 1.3.0 
file-icons 2.1.16 
git-control 0.9.0 
git-diff-details 1.4.0 
git-log 0.4.1 
git-time-machine 1.5.9 
highlight-selected 0.13.1 
hyperclick 0.1.5 
intentions 1.1.5 
isotope-ui 2.8.5 
js-hyperclick 1.12.2 
language-batch 0.4.0 
language-docker 1.1.8 
language-groovy 0.7.0 
language-vue 0.23.1 
language-yaml-cloudformation 0.3.1 
lint-sass-vue 1.0.5 
linter 2.2.0 
linter-csslint 2.0.0 
linter-docker 0.3.0 
linter-eslint 8.4.0 
linter-flow 5.6.1 
linter-htmlhint 1.4.0 
linter-js-cloudformation-yaml 2.2.1 
linter-js-yaml 1.2.8 
linter-just-say-no 0.7.3 
linter-proselint 3.3.0 
linter-sass-lint 1.8.3 
linter-tslint 1.9.0 
linter-ui-default 1.6.10 
linter-write-good 0.9.0 
minimap 4.29.7 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-git-diff 4.3.1 
minimap-highlight-selected 4.6.1 
minimap-linter 2.1.3 
minimap-pigments 0.2.2 
pigments 0.40.2 
platformio-ide-terminal 2.8.0 
prettier-atom 0.48.0 
pristine-ui 1.1.11 
regex-railroad-diagram 0.19.4 
seti-syntax 1.1.3 
seti-ui 1.9.0 
sort-lines 0.18.0 
teletype 0.6.0 
terminal-tab 0.4.0 
tester 1.4.0 
tester-jest 1.1.8 
theme-switcher 1.1.0 
toggle-quotes 1.1.0 
tree-view-git-status 1.4.0 
vuejs2-snippets 0.15.0 
wakatime 7.0.4 

johnwebbcole avatar Jan 22 '18 20:01 johnwebbcole