* fhandler.h (fhandler_console::MAX_WRITE_CHARS): Declare.
(fhandler_console::write_replacement_char): Declare as inline. (fhandler_console::write_console): Declare new function. * fhandler_console.cc (fhandler_console::MAX_WRITE_CHARS): Define. (handler_console::write_console): Define. (fhandler_console::write_replacement_char): Define as inline. (fhandler_console::write_normal): Use write_console when writing buffers of unknown length.
This commit is contained in:
@@ -912,6 +912,7 @@ class dev_console
|
||||
class fhandler_console: public fhandler_termios
|
||||
{
|
||||
private:
|
||||
static const unsigned MAX_WRITE_CHARS;
|
||||
static dev_console *dev_state;
|
||||
static bool invisible_console;
|
||||
|
||||
@@ -931,7 +932,8 @@ class fhandler_console: public fhandler_termios
|
||||
void cursor_set (bool, int, int);
|
||||
void cursor_get (int *, int *);
|
||||
void cursor_rel (int, int);
|
||||
void write_replacement_char ();
|
||||
inline void write_replacement_char ();
|
||||
inline bool write_console (PWCHAR, DWORD, DWORD&);
|
||||
const unsigned char *write_normal (unsigned const char*, unsigned const char *);
|
||||
void char_command (char);
|
||||
bool set_raw_win32_keyboard_mode (bool);
|
||||
|
Reference in New Issue
Block a user