Skip to content
Snippets Groups Projects
Commit d6e4f682 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Pass all control keys through to remote in Beeb mode

Implements feature request #104
parent f772f580
No related branches found
No related tags found
No related merge requests found
Pipeline #8578 passed
......@@ -5035,10 +5035,18 @@ doterm(struct bbslist *bbs)
}
// TODO: Add clear screen key?
default:
if (key == 13 || (key < 129 && key > 31)) {
if (cterm->emulation == CTERM_EMULATION_PRESTEL) {
if (key == 13 || (key < 128 && key > 31)) {
ch[0] = key;
conn_send(ch, 1, 0);
}
}
else {
if (key < 128) {
ch[0] = key;
conn_send(ch, 1, 0);
}
}
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment