projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Empty lines are no longer stored in the input history
[projects/chimara/chimara.git]
/
libchimara
/
window.h
diff --git
a/libchimara/window.h
b/libchimara/window.h
index 71bbb7436168cbbe368ae5827920e05f58d7c422..544d0cec62129350e8af65aefbd5d770ff9bdd2b 100644
(file)
--- a/
libchimara/window.h
+++ b/
libchimara/window.h
@@
-59,12
+59,15
@@
struct glk_window_struct
glui32 line_input_buffer_max_len;
gidispatch_rock_t buffer_rock;
gboolean mouse_input_requested;
glui32 line_input_buffer_max_len;
gidispatch_rock_t buffer_rock;
gboolean mouse_input_requested;
+ GList *history;
+ GList *history_pos;
/* Line input field (text grids only) */
glui32 input_length;
GtkTextChildAnchor *input_anchor;
GtkWidget *input_entry;
/* Signal handlers */
/* Line input field (text grids only) */
glui32 input_length;
GtkTextChildAnchor *input_anchor;
GtkWidget *input_entry;
/* Signal handlers */
- gulong keypress_handler;
+ gulong char_input_keypress_handler;
+ gulong line_input_keypress_handler;
gulong insert_text_handler;
gulong mouse_click_handler;
gulong mouse_move_handler;
gulong insert_text_handler;
gulong mouse_click_handler;
gulong mouse_move_handler;