keys_command.h - ledit - Text editor (WIP)
HTML git clone git://lumidify.org/ledit.git (fast, but not encrypted)
HTML git clone https://lumidify.org/ledit.git (encrypted, but very slow)
HTML git clone git://4kcetb7mo7hj6grozzybxtotsub5bempzo4lirzc3437amof2c2impyd.onion/ledit.git (over tor)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
keys_command.h (711B)
---
1 #ifndef _KEYS_COMMAND_H_
2 #define _KEYS_COMMAND_H_
3
4 #include <X11/Xlib.h>
5 #include "view.h"
6 #include "uglycrap.h"
7
8 typedef struct command_key_cb command_key_cb;
9 typedef struct command_cb command_cb;
10
11 int command_key_cb_modemask_is_valid(command_key_cb *cb, command_mode modes);
12 command_key_cb *command_key_cb_map_get_entry(char *text, size_t len);
13 command_cb *command_cb_map_get_entry(char *text, size_t len);
14
15 /* these are only here so they can also be used by keys_basic */
16 void search_next(ledit_view *view);
17 void search_prev(ledit_view *view);
18
19 void command_key_cleanup(void);
20 struct action command_key_handler(ledit_view *view, unsigned int key_state, KeySym sym, char *buf, int n, int lang_index);
21
22 #endif