Skip to content
Snippets Groups Projects
Commit a04916dd authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add PETGRFX @-code to send char 142 (enter PETSCII upper/graphics char set)

... when PETSCII terminal in use.

For those sysops using editors that don't automatically or easily add this
character to their SEQ art files when needed.
parent 4e96e7d3
No related branches found
No related tags found
No related merge requests found
Pipeline #6683 failed
......@@ -648,6 +648,12 @@ const char* sbbs_t::atcode(const char* sp, char* str, size_t maxlen, int* pmode,
if(strcmp(sp, "PETSCII") == 0)
return (useron.misc & PETSCII) ? text[On] : text[Off];
if(strcmp(sp, "PETGRFX") == 0) {
if(term_supports(PETSCII))
outcom(PETSCII_UPPERGRFX);
return nulstr;
}
if(strcmp(sp, "SWAPDEL") == 0)
return (useron.misc & SWAP_DELETE) ? text[On] : text[Off];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment