Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node_tty.h

Issue 23005005: [NaCl SDK] nacl_io: Add initial implementations of kill and signal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c333b280b1c3d3b43b4cf07380da598d5448bbd1 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
@@ -58,9 +58,14 @@ class MountNodeTty : public MountNodeCharDevice {
std::deque<char> input_buffer_;
bool is_readable_;
+ bool did_resize_;
pthread_cond_t is_readable_cond_;
std::string prefix_;
struct termios termios_;
+ /// Current height of terminal in rows.
+ int rows_;
+ /// Current width of terminal in columns.
+ int cols_;
};
}

Powered by Google App Engine
This is Rietveld 408576698