summaryrefslogtreecommitdiffhomepage
path: root/src/internal/ptycon_bridge_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-11 05:10:11 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:27 -0400
commite4c2ac9de9b7ac8a4885361588566219ffe6e587 (patch)
treed12c68c34d5c3ca9059e9411f85803f6f4f8c46a /src/internal/ptycon_bridge_impl.h
parent3d2f26084d7fe51eb018b1283429cfd4a630cb81 (diff)
downloadptycon-e4c2ac9de9b7ac8a4885361588566219ffe6e587.tar.bz2
ptycon-e4c2ac9de9b7ac8a4885361588566219ffe6e587.tar.xz
bridge: added initial sgr logic.
Diffstat (limited to 'src/internal/ptycon_bridge_impl.h')
-rw-r--r--src/internal/ptycon_bridge_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/ptycon_bridge_impl.h b/src/internal/ptycon_bridge_impl.h
index b70497e..a88b774 100644
--- a/src/internal/ptycon_bridge_impl.h
+++ b/src/internal/ptycon_bridge_impl.h
@@ -44,6 +44,8 @@ struct ptyc_term_ctx {
ptyc_term_handler * ctrl_handler;
ptyc_term_handler * const * ctrl_handlers[PTYC_CTRL_STATE_CAP];
ptyc_term_handler * ctrl_command;
+ uint16_t foreground;
+ uint16_t background;
struct ptyc_term_data data;
};