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,9 +5035,17 @@ doterm(struct bbslist *bbs) ...@@ -5035,9 +5035,17 @@ doterm(struct bbslist *bbs)
} }
// TODO: Add clear screen key? // TODO: Add clear screen key?
default: default:
if (key == 13 || (key < 129 && key > 31)) { if (cterm->emulation == CTERM_EMULATION_PRESTEL) {
ch[0] = key; if (key == 13 || (key < 128 && key > 31)) {
conn_send(ch, 1, 0); ch[0] = key;
conn_send(ch, 1, 0);
}
}
else {
if (key < 128) {
ch[0] = key;
conn_send(ch, 1, 0);
}
} }
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment