Skip to content

Commit

Permalink
Overlooked this...
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertzui123 committed Oct 8, 2023
1 parent 4a1c3de commit 1e1635c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/term/ui/termios_nix.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ fn (mut ctx Context) termios_loop() {
}
if !ctx.paused {
sw.restart()
if ctx.cfg.event_fn != unsafe { nil } {
if ctx.cfg.event_fn != none {
unsafe {
len := C.read(C.STDIN_FILENO, &u8(ctx.read_buf.data) + ctx.read_buf.len,
ctx.read_buf.cap - ctx.read_buf.len)
Expand Down

0 comments on commit 1e1635c

Please sign in to comment.