mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Specify cols key when spawning pty shell (#1075)
The column size param in pty.js is named ‘cols’, but the shorthand notation treats it as ‘columns’, causing the column count to not be correct.
This commit is contained in:
parent
d459112676
commit
7df5cbac08
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ module.exports = class Session extends EventEmitter {
|
|||
|
||||
try {
|
||||
this.pty = spawn(shell || defaultShell, shellArgs || defaultShellArgs, {
|
||||
columns,
|
||||
cols: columns,
|
||||
rows,
|
||||
cwd,
|
||||
env: getDecoratedEnv(baseEnv)
|
||||
|
|
|
|||
Loading…
Reference in a new issue