line-ed: add unicode support
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#ifndef LINE_ED_INPUT_H_
|
||||
#define LINE_ED_INPUT_H_
|
||||
|
||||
#include <fx/encoding.h>
|
||||
|
||||
struct line_ed;
|
||||
|
||||
extern void put_char(struct line_ed *ed, char c);
|
||||
extern void put_char(struct line_ed *ed, fx_wchar c);
|
||||
extern void backspace(struct line_ed *ed);
|
||||
extern void cursor_left(struct line_ed *ed);
|
||||
extern void cursor_right(struct line_ed *ed);
|
||||
|
||||
Reference in New Issue
Block a user