Resize xterm.js when window is resized
This commit is contained in:
parent
cf45bcc25d
commit
1381be71fb
@ -225,6 +225,9 @@
|
|||||||
editor.getSession().on('change', editor_change);
|
editor.getSession().on('change', editor_change);
|
||||||
editor.resize();
|
editor.resize();
|
||||||
});
|
});
|
||||||
|
$(window).resize(function() {
|
||||||
|
editor.resize();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user