mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -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 {
|
try {
|
||||||
this.pty = spawn(shell || defaultShell, shellArgs || defaultShellArgs, {
|
this.pty = spawn(shell || defaultShell, shellArgs || defaultShellArgs, {
|
||||||
columns,
|
cols: columns,
|
||||||
rows,
|
rows,
|
||||||
cwd,
|
cwd,
|
||||||
env: getDecoratedEnv(baseEnv)
|
env: getDecoratedEnv(baseEnv)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue