~sircmpwn/hare-vt

152b9e2d0ea2e41f7c82726ee7d6616256d1edf1 — Drew DeVault 11 months ago a366a34
vt::open: update fs::flag usage
1 files changed, 1 insertions(+), 1 deletions(-)

M vt/driver.ha
M vt/driver.ha => vt/driver.ha +1 -1
@@ 41,7 41,7 @@ export type term = struct {
//
// Opens /dev/tty if available, and falls back to stdin/stdout if not.
export fn open() *term = {
	match (os::open("/dev/tty", fs::flags::RDWR, fs::flags::CTTY)) {
	match (os::open("/dev/tty", fs::flag::RDWR, fs::flag::CTTY)) {
	case let tty: io::file =>
		return xterm_init(tty, tty);
	case =>