~sircmpwn/hare-vt

a366a34695a2df0a4ea1bf0d5702f7a7c6356a90 — Autumn! 1 year, 1 month ago 2bd8ef3
Add default enum members to make harec happy
2 files changed, 3 insertions(+), 1 deletions(-)

M vt/event.ha
M vt/xterm.ha
M vt/event.ha => vt/event.ha +1 -0
@@ 39,6 39,7 @@ export type specialkey = enum {

// Key modifier flags.
export type modflag = enum u8 {
	NONE  = 0,
	SHIFT = 1 << 0,
	ALT   = 1 << 1,
	CTRL  = 1 << 2,

M vt/xterm.ha => vt/xterm.ha +2 -1
@@ 11,7 11,8 @@ type more = void;
def ESC: rune = '\x1b';

type xterm_state = enum uint {
	ALT = 1 << 0,
	NONE        = 0,
	ALT         = 1 << 0,
	CUR_DISABLE = 1 << 1,
};