line-ed: add unicode support

This commit is contained in:
2026-05-17 16:44:54 +01:00
parent 2f200e8d1b
commit 5a23da4cfe
9 changed files with 107 additions and 70 deletions
+3 -1
View File
@@ -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);