| Index: native_client_sdk/src/libraries/nacl_io/mount_node_tty.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_tty.h b/native_client_sdk/src/libraries/nacl_io/mount_node_tty.h
|
| index 87c8191506d3fd0b0b7bb10479defd83afac9c00..898a89cbe58960ace9a4bc3d4716318dc3430ff3 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/mount_node_tty.h
|
| +++ b/native_client_sdk/src/libraries/nacl_io/mount_node_tty.h
|
| @@ -47,20 +47,24 @@ class MountNodeTty : public MountNodeCharDevice {
|
| }
|
|
|
| private:
|
| - virtual Error Write(size_t offs,
|
| + Error WriteWithLock(size_t offs,
|
| const void* buf,
|
| size_t count,
|
| - int* out_bytes,
|
| - bool locked);
|
| + int* out_bytes);
|
| Error ProcessInput(struct tioc_nacl_input_string* message);
|
| Error Echo(const char* string, int count);
|
| void InitTermios();
|
|
|
| std::deque<char> input_buffer_;
|
| bool is_readable_;
|
| + bool did_resize_;
|
| pthread_cond_t is_readable_cond_;
|
| - std::string prefix_;
|
| struct termios termios_;
|
| + nacl_io_tty_output_handler_t output_handler_;
|
| + /// Current height of terminal in rows.
|
| + int rows_;
|
| + /// Current width of terminal in columns.
|
| + int cols_;
|
| };
|
|
|
| }
|
|
|