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

Crash while pressing "ENTER/ENTER/.../ENTER" in chat window on a real DEC VT320 in VT100 mode #18

Open
sblendorio opened this issue Jan 28, 2022 · 0 comments

Comments

@sblendorio
Copy link

Hi, I'm using Slackadaisical on a real terminal DEC VT320 in VT100 mode.

The problem happens when I'm in the chat window ("ctrl-o" mode), like this:

image

If I repeatedly press ENTER, this error happens and the application stops itself:

TypeError: Cannot read property 'width' of null
    at Box.Element._getWidth (/home/sblendorio/github/Slackadaisical/node_modules/blessed/lib/widgets/element.js:1060:20)
    at Box.width (/home/sblendorio/github/Slackadaisical/node_modules/blessed/lib/widgets/element.js:1095:15)
    at MessagesList.render (/home/sblendorio/github/Slackadaisical/dist/MessagesList.js:103:43)
    at MessagesList.loadHistory (/home/sblendorio/github/Slackadaisical/dist/MessagesList.js:141:18)
    at /home/sblendorio/github/Slackadaisical/dist/MessagesList.js:85:23
...

image

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