51 if ( character ==
'\b' ) {
58 if ( character ==
'\r' )
62 if ( character ==
'\n' )
69 if ( ( character != 0 ) &&
70 ( line->
index < ( line->
len - 1 ) ) ) {
size_t index
Current index within buffer.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
size_t len
Length of buffer.
size_t line_putchar(struct line_console *line, int character)
Print a character to a line-based console.
int ansiesc_process(struct ansiesc_context *ctx, int c)
Process character that may be part of ANSI escape sequence.
struct ansiesc_context ctx
ANSI escape sequence context.
char * buffer
Data buffer.