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.resize();
|
||||
});
|
||||
$(window).resize(function() {
|
||||
editor.resize();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user