Skip to content
Snippets Groups Projects
Commit 462ff72b authored by rswindell's avatar rswindell
Browse files

Remove CTERM_FONTS definition. This wasn't be used by anything. cterm_lib.js

using the version to determine what's supported (and isn't).
parent 0b14420a
No related branches found
No related tags found
No related merge requests found
......@@ -365,8 +365,6 @@ bool sbbs_t::answer()
} else if(sscanf(p, "[=67;84;101;114;109;%u;%u", &x, &y) == 2 && *lastchar(p) == 'c') {
lprintf(LOG_INFO,"received CTerm version report: %u.%u", x, y);
cterm_version = (x*1000) + y;
if(cterm_version >= 1061)
autoterm |= CTERM_FONTS;
}
p = strtok_r(NULL, "\x1b", &tokenizer);
}
......
......@@ -652,13 +652,12 @@ typedef enum { /* Values for xtrn_t.event */
#define AUTOLOGON (1L<<22) /* AutoLogon via IP */
#define HTML (1L<<23) /* Using Zuul/HTML terminal */
#define NOPAUSESPIN (1L<<24) /* No spinning cursor at pause prompt */
#define CTERM_FONTS (1L<<25) /* Loadable fonts are supported */
#define PETSCII (1L<<26) /* Commodore PET/CBM terminal */
#define SWAP_DELETE (1L<<27) /* Swap Delete and Backspace keys */
#define ICE_COLOR (1L<<28) /* Bright background color support */
#define UTF8 (1L<<29) /* UTF-8 terminal */
#define TERM_FLAGS (ANSI|COLOR|NO_EXASCII|RIP|WIP|HTML|CTERM_FONTS|PETSCII|SWAP_DELETE|ICE_COLOR|UTF8)
#define TERM_FLAGS (ANSI|COLOR|NO_EXASCII|RIP|WIP|HTML|PETSCII|SWAP_DELETE|ICE_COLOR|UTF8)
/* Special terminal key mappings */
#define TERM_KEY_HOME CTRL_B
......
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