git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: add a async read/write variant to device ops, with allow async io to be...
[lunaix-os.git]
/
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 0596a7a64af40a6a26d8f5f02d080ae9216b5bf0..112f719b7fc74298ce0fc640d69ef5553c07520d 100644
(file)
--- 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)
#define CTRL_MNEMO(chr) (chr - 'A' + 1)
-static inline
size_
t
+static inline
in
t
__ansi_actcontrol(struct term* termdev, struct linebuffer* lbuf, char chr)
{
struct rbuffer* cooked = lbuf->next;
__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);
}
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