commit 8f89e3e392a509192adbe6c4c18d496d29af38fe
parent 2cd3c15b8b5a53c934b472ca078bd9c78a1309f6
Author: Eyal Sawady <ecs@d2evs.net>
Date: Thu, 13 Jan 2022 13:13:20 +0000
rt::cc: drop harec workaround
Signed-off-by: Eyal Sawady <ecs@d2evs.net>
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/rt/+freebsd/types.ha b/rt/+freebsd/types.ha
@@ -212,7 +212,7 @@ export type tcflag = enum uint {
NOFLSH = 0x80000000,
};
-export type cc = enum u8 {
+export type cc = enum char {
VEOF = 0,
VEOL = 1,
VEOL2 = 2,
diff --git a/rt/+linux/types.ha b/rt/+linux/types.ha
@@ -570,8 +570,7 @@ export type termios = struct {
export def NCCS: size = 19;
-// TODO: change this back to char when harec starts to work with it
-export type cc = enum u8 {
+export type cc = enum char {
VINTR = 0,
VQUIT = 1,
VERASE = 2,