~yerinalexey/stopwatch

007f3e1015b375c84fd25a08ef469bb1e236f75b — Alexey Yerin 2 months ago d91f938
Add error assertion to io::close calls
1 files changed, 1 insertions(+), 1 deletions(-)

M main.ha
M main.ha => main.ha +1 -1
@@ 8,7 8,7 @@ use unix::tty;

export fn main() void = {
	const term = tty::open()!;
	defer io::close(term);
	defer io::close(term)!;

	const ui = match (ui_init(term)) {
	case let u: ui =>