xputc_core() and g_putch() are the only routines that actually place output. same signature as 'putchar()' with potential failure result ignored */
| 1224 | /* xputc_core() and g_putch() are the only routines that actually place output. |
| 1225 | same signature as 'putchar()' with potential failure result ignored */ |
| 1226 | int |
| 1227 | xputc(int ch) |
| 1228 | { |
| 1229 | int x = ttyDisplay->curx, y = ttyDisplay->cury; |
| 1230 | if (x < console.width && y < console.height) { |
| 1231 | set_console_cursor(ttyDisplay->curx, ttyDisplay->cury); |
| 1232 | xputc_core(ch); |
| 1233 | } |
| 1234 | return 0; |
| 1235 | } |
| 1236 | |
| 1237 | #ifndef VIRTUAL_TERMINAL_SEQUENCES |
| 1238 | void |
nothing calls this directly
no test coverage detected