Wrote behavior of Backspace key during line input in text grid windows.
[rodin/chimara.git] / src / window.h
index 3395bb482296225c9d663da43a6f6ac228c826d4..2947c665455dd203ef7a80c97fc317aef4b0d542 100644 (file)
@@ -36,12 +36,17 @@ struct glk_window_struct
        /* Streams associated with the window */
        strid_t window_stream;
        strid_t echo_stream;
+       /* Width and height of the window, in characters (text grids only) */
+       glui32 width;
+       glui32 height;
        /* Input request stuff */
        enum InputRequestType input_request_type;
        gchar *line_input_buffer;
        glui32 *line_input_buffer_unicode;
        glui32 line_input_buffer_max_len;
        gboolean mouse_input_requested;
+       /* Line input field coordinates (text grids only) */
+       
        /* Signal handlers */
        gulong keypress_handler;
        gulong insert_text_handler;