Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when hit enter on empty Channels tab #6

Open
TintypeMolly opened this issue Aug 28, 2018 · 0 comments
Open

Crashes when hit enter on empty Channels tab #6

TintypeMolly opened this issue Aug 28, 2018 · 0 comments

Comments

@TintypeMolly
Copy link

How to reproduce

  1. Run slack-tui
  2. hit tab to select Channels tab
  3. hit enter

Result

It crashes

Error Log

➜  ~ slack-tui
TypeError: Cannot read property 'selectChannel' of null
    at List.<anonymous> (/home/tintypemolly/workspace/slack-tui/index.js:391:35)
    at List.EventEmitter._emit (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/events.js:94:20)
    at List.EventEmitter.emit (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/events.js:117:12)
    at List.enterSelected (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/widgets/list.js:586:8)
    at List.<anonymous> (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/widgets/list.js:119:14)
    at List.EventEmitter._emit (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/events.js:94:20)
    at List.EventEmitter.emit (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/events.js:117:12)
    at Program.<anonymous> (/home/tintypemolly/workspace/slack-tui/node_modules/blessed/lib/widgets/screen.js:602:15)
    at emitTwo (events.js:126:13)
    at Program.emit (events.js:214:7)
TintypeMolly added a commit to TintypeMolly/slack-tui that referenced this issue Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant