diff options
author | mongo <mongo@iomega> | 2016-04-15 16:20:17 -0300 |
---|---|---|
committer | mongo <mongo@iomega> | 2016-04-15 16:20:17 -0300 |
commit | f686ba184e0af3fd37aa8a743631a7a376f30843 (patch) | |
tree | e9a48dc691511a2961f93163944ba0ca1a84e5b3 /src/input.h | |
parent | c0a088d7a4bc61e6e69fa5bd8964c39f68507c71 (diff) |
Renamed src.scim2 to src
Diffstat (limited to 'src/input.h')
-rwxr-xr-x | src/input.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h new file mode 100755 index 0000000..83e62cf --- /dev/null +++ b/src/input.h @@ -0,0 +1,18 @@ +#include <ncurses.h> +#include <wchar.h> +#include <sys/time.h> // for struct timeval + +extern int multiplier; // Multiplier +extern int command_pending; // Command pending +extern WINDOW * input_win; +extern struct block * lastcmd_buffer; +extern struct history * commandline_history; + +void fix_timeout(struct timeval * start_tv); // Handle timeout of stdin +void handle_input(struct block * buffer); +void break_waitcmd_loop(struct block * buffer); +int has_cmd (struct block * buf, long timeout); +void handle_mult(int * multiplier, struct block * buf, long timeout); // Handle multiplier ef. +void exec_mult (struct block * buf, long timeout); +void exec_single_cmd (struct block * sb); +int wget_wch(WINDOW * win, wint_t * wch); |