X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/59ecf21e36b2332f6adf2a568ef555283d8c119a..bef1210245bb3180a57f26405369654eaa477f63:/lunaix-os/hal/term/lcntls/ansi_cntl.c diff --git a/lunaix-os/hal/term/lcntls/ansi_cntl.c b/lunaix-os/hal/term/lcntls/ansi_cntl.c index 0596a7a..112f719 100644 --- a/lunaix-os/hal/term/lcntls/ansi_cntl.c +++ b/lunaix-os/hal/term/lcntls/ansi_cntl.c @@ -14,7 +14,7 @@ #define CTRL_MNEMO(chr) (chr - 'A' + 1) -static inline size_t +static inline int __ansi_actcontrol(struct term* termdev, struct linebuffer* lbuf, char chr) { struct rbuffer* cooked = lbuf->next; @@ -30,5 +30,4 @@ __ansi_actcontrol(struct term* termdev, struct linebuffer* lbuf, char chr) return rbuffer_put(cooked, chr); } -struct term_lcntl ansi_line_controller = { .process_and_put = - __ansi_actcontrol }; \ No newline at end of file +struct term_lcntl ansi_line_controller = {.process_and_put = __ansi_actcontrol}; \ No newline at end of file