We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6792f15 commit 17a2ff8Copy full SHA for 17a2ff8
packages/runtime/index.html
@@ -72,8 +72,10 @@
72
emulator.add_listener("emulator-ready", function () {
73
initTerm();
74
setTimeout(() => {
75
- sendBackgroundCommands(["/etc/init.d/S40network restart"]);
76
- emulator.serial0_send('\\! reset\n');
+ sendBackgroundCommands([
+ "/etc/init.d/S40network restart"
77
+ ]);
78
+ emulator.serial0_send(`\\! stty rows ${emulator.serial_adapter.term.rows} cols ${emulator.serial_adapter.term.cols} && reset\n`);
79
emulator.serial_adapter.term.focus();
80
}, 0);
81
});
packages/runtime/styles.css
@@ -21,7 +21,7 @@ body {
21
.xterminal {
22
position: relative;
23
padding: 16px;
24
- width: calc(80ch + 16px * 2);
+ width: 60%;
25
height: 60%;
26
background: black;
27
border-radius: 7px;
0 commit comments