romgrk / termrk

Terminal for atom, using pty.js & term.js
MIT License
33 stars 7 forks source link

Uncaught TypeError: Cannot read property '0' of undefined #35

Closed kn9ts closed 7 years ago

kn9ts commented 9 years ago

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.2 System: Mac OS X 10.10.4 Thrown From: Termrk package, v0.1.17

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At /Users/jheneknights/.atom/packages/Termrk/node_modules/term.js/src/term.js:1208

TypeError: Cannot read property '0' of undefined
  at Terminal.refresh (/Users/jheneknights/.atom/packages/Termrk/node_modules/term.js/src/term.js:1208:18)
  at Terminal.refresh (/Users/jheneknights/.atom/packages/Termrk/lib/termjs-fix.coffee:127:9)
  at Terminal._cursorBlink (/Users/jheneknights/.atom/packages/Termrk/node_modules/term.js/src/term.js:1324:8)
  at _blinker (/Users/jheneknights/.atom/packages/Termrk/node_modules/term.js/src/term.js:1341:10)

Commands

     -3:38.2.0 core:move-right (atom-text-editor.editor.mini.is-focused)
     -3:37 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:13.3.0 core:undo (atom-text-editor.editor.mini.is-focused)
     -2:12.6.0 core:move-right (atom-text-editor.editor.mini.is-focused)
 10x -2:11.6.0 core:move-left (atom-text-editor.editor.mini.is-focused)
  6x -2:09.2.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -2:06.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -2:05.0 core:undo (atom-text-editor.editor.mini.is-focused)
     -2:04.3.0 core:move-right (atom-text-editor.editor.mini.is-focused)
     -1:50.9.0 settings-view:open (atom-text-editor.editor.is-focused)
 10x -0:43.6.0 core:move-left (atom-text-editor.editor.mini.is-focused)
  7x -0:41.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:37.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:28.6.0 core:undo (atom-text-editor.editor.mini.is-focused)
     -0:28 core:move-right (atom-text-editor.editor.mini.is-focused)
     -0:07.7.0 termrk:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-sepia-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "file-type-icons",
      "atom-terminal-panel",
      "wrap-guide"
    ],
    "themes": [
      "one-dark-ui",
      "sepia-syntax"
    ]
  },
  "Termrk": {
    "fontFamily": "Consolas",
    "startingDir": "cwd"
  }
}

Installed Packages

# User
Termrk, v0.1.17
atom-beautify, vundefined
atom-jade, v0.3.0
autocomplete-php, v0.3.6
color-picker, v2.0.10
file-icons, v1.5.8
gist-it, v0.7.0
go-plus, v3.4.1
go-runtime, v0.2.0
jshint, v1.3.9
language-docker, v1.1.3
language-mongodb, v0.2.0
language-protobuf, v0.5.0
linter-golinter, v0.1.0
linter-php, v0.0.15
minimap, v4.12.0
sepia-syntax, v1.0.5
terminal-panel, v1.14.1

# Dev
No dev packages
AbdullahAli commented 9 years ago

this is happening everytime i try to scroll up inside the terminal panel. any fix?

romgrk commented 9 years ago

Yes yes! This is next in my TODO list. I will update next weekend, unless it's fixed.