We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ec045f + 96da29a commit be2bf53Copy full SHA for be2bf53
1 file changed
tcod.lisp
@@ -2483,10 +2483,12 @@ a light grey colour, or raise an error (if `error?' is non-nil)."
2483
2484
;;; changed from :bool to :int even though it is a bool in TCOD definition
2485
;;; CFFI bug, see https://bugs.launchpad.net/cffi/+bug/1517578
2486
-(defcfun ("TCOD_console_wait_for_keypress" console-wait-for-keypress)
+(defcfun ("TCOD_console_wait_for_keypress" %console-wait-for-keypress)
2487
(:struct key-press)
2488
(flush? :int))
2489
2490
+(defun console-wait-for-keypress (flush?)
2491
+ (%console-wait-for-keypress (if flush? 1 0)))
2492
2493
;;TCODLIB_API void TCOD_console_set_keyboard_repeat(int initial_delay,
2494
;; int interval);
0 commit comments