fixes #43
This commit is contained in:
parent
d3bf809f75
commit
ad4cf49b76
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ window.addEventListener('resize', resizeScreen, false)
|
||||||
|
|
||||||
function resizeScreen () {
|
function resizeScreen () {
|
||||||
term.fit()
|
term.fit()
|
||||||
|
socket.emit('resize', {cols: term.cols, rows: term.rows })
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.location.pathname) {
|
if (document.location.pathname) {
|
||||||
|
|
Loading…
Reference in a new issue