From f9b4933e16ebcdc1db3af32b8da4fa2416f27acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 24 May 2018 09:45:43 +0200 Subject: Fix wrong type spec --- src/sdl_cursor.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl_cursor.erl b/src/sdl_cursor.erl index 7e12ee0..fa11609 100644 --- a/src/sdl_cursor.erl +++ b/src/sdl_cursor.erl @@ -62,7 +62,7 @@ hide() -> esdl2:show_cursor(0), receive {'_nif_thread_ret_', _} -> ok end. --spec is_visible() -> ok. +-spec is_visible() -> boolean(). is_visible() -> esdl2:show_cursor(-1), receive -- cgit v1.2.3