summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-17 13:11:17 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-17 13:11:17 +0000
commita8855a831f9a789f19e2525962d0e5c4a8463a18 (patch)
tree0a2b9caa6732a4cfa392df0352649a6cfccdff1c /crawl-ref/source/libunix.h
parent39379c48505b14bfbe8ac8292e5938ad33d5989a (diff)
downloadcrawl-ref-a8855a831f9a789f19e2525962d0e5c4a8463a18.tar.gz
crawl-ref-a8855a831f9a789f19e2525962d0e5c4a8463a18.zip
An attempt at a more comprehensive fix for cursor inconsistencies between
platforms. We'll probably need to tweak this further. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@659 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.h')
-rw-r--r--crawl-ref/source/libunix.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/libunix.h b/crawl-ref/source/libunix.h
index 732c383133..c619cf114d 100644
--- a/crawl-ref/source/libunix.h
+++ b/crawl-ref/source/libunix.h
@@ -4,8 +4,6 @@
// Some replacement routines missing in gcc
-#define _NORMALCURSOR 1
-#define _NOCURSOR 0
#define O_BINARY O_RDWR
char *strlwr(char *str);
@@ -30,7 +28,6 @@ int get_number_of_lines_from_curses(void);
int get_number_of_cols_from_curses(void);
void get_input_line_from_curses( char *const buff, int len );
-void _setcursortype(int curstype);
void delay(unsigned long time);
void unixcurses_shutdown(void);
void unixcurses_startup(void);
@@ -41,6 +38,8 @@ void textattr(int col);
void set_altcharset(bool alt_on);
bool get_altcharset();
+void set_cursor_enabled(bool enabled);
+bool is_cursor_enabled();
inline void enable_smart_cursor(bool) { }
inline bool is_smart_cursor_enabled() { return (false); }