follow-up bit for Windows console
This commit is contained in:
@@ -1486,14 +1486,13 @@ xputc_core(int ch)
|
|||||||
void
|
void
|
||||||
console_g_putch(int in_ch)
|
console_g_putch(int in_ch)
|
||||||
{
|
{
|
||||||
unsigned char ch;
|
unsigned char ch = (unsigned char) in_ch;
|
||||||
cell_t cell;
|
cell_t cell;
|
||||||
#ifndef VIRTUAL_TERMINAL_SEQUENCES
|
#ifndef VIRTUAL_TERMINAL_SEQUENCES
|
||||||
boolean inverse = FALSE;
|
boolean inverse = FALSE;
|
||||||
#else /* VIRTUAL_TERMINAL_SEQUENCES */
|
#else /* VIRTUAL_TERMINAL_SEQUENCES */
|
||||||
ccount = 0;
|
ccount = 0;
|
||||||
WCHAR wch[2];
|
WCHAR wch[2];
|
||||||
ch = (unsigned char) in_ch;
|
|
||||||
boolean usemap = (ch >= 0 && ch < SIZE(console.cpMap));
|
boolean usemap = (ch >= 0 && ch < SIZE(console.cpMap));
|
||||||
#endif /* VIRTUAL_TERMINAL_SEQUENCES */
|
#endif /* VIRTUAL_TERMINAL_SEQUENCES */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user