diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-05-15 09:15:36 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-05-15 09:25:54 +0200 |
commit | 033a6bb56be09bff1867051e16af8781ebbe3ebb (patch) | |
tree | a2d523a67193cab089ce1084abaf9cfc7ee37fa2 /crawl-ref/source/libunix.cc | |
parent | cc30ee9fb6de771f686bbe18f0a1d9c836a4608c (diff) | |
download | crawl-ref-033a6bb56be09bff1867051e16af8781ebbe3ebb.tar.gz crawl-ref-033a6bb56be09bff1867051e16af8781ebbe3ebb.zip |
Get rid of get_input_line.
It's not used anymore, and was buggy on windows console.
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r-- | crawl-ref/source/libunix.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 54a948593c..1edc8f3795 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -755,17 +755,6 @@ int get_number_of_cols(void) return (COLS); } -void get_input_line_from_curses( char *const buff, int len ) -{ - echo(); - wgetnstr( stdscr, buff, len ); - noecho(); - - // Don't return a partial string if a HUP signal interrupted things. - if (crawl_state.seen_hups) - buff[0] = '\0'; -} - int clrscr() { int retval; |