Skip to content

Commit af880d3

Browse files
committed
Merge branch 'main' into serial-file-transfer
2 parents 8a48c79 + 6dbdb3b commit af880d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ async function setupXterm() {
526526
state.terminal.loadAddon(new WebLinksAddon());
527527

528528
state.terminal.open(document.getElementById('terminal'));
529-
state.terminal.onData((data) => async function(e) {
529+
state.terminal.onData(async (data) => {
530530
if (await checkConnected()) {
531531
workflow.serialTransmit(data);
532532
}

0 commit comments

Comments
 (0)