Skip to content

Commit d7b033d

Browse files
committed
GameEngine.h: Shouldn't return cursor if suppress_tty_output = true. This way, we can actually do proper print debugging. Yayy!!
1 parent d60ba7d commit d7b033d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/Termin8or/sys/GameEngine.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ namespace t8x
399399
real_dt_s = real_time_s - real_last_time_s;
400400
}
401401

402-
t8::return_cursor();
402+
if (!m_params.suppress_tty_output)
403+
t8::return_cursor();
403404
sh.clear();
404405

405406
t8x::update_log_stream(m_params.log_mode, kpdp, keyboard.get(), get_frame_count());

0 commit comments

Comments
 (0)