mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 12:31:45 +08:00
Export el_del_char()
This commit is contained in:
parent
111fc5e1fb
commit
897a98be55
@ -50,6 +50,7 @@ extern int rl_meta_chars;
|
|||||||
extern char * el_find_word(void);
|
extern char * el_find_word(void);
|
||||||
extern void el_print_columns(int ac, char **av);
|
extern void el_print_columns(int ac, char **av);
|
||||||
extern el_status_t el_ring_bell(void);
|
extern el_status_t el_ring_bell(void);
|
||||||
|
extern el_status_t el_del_char(void);
|
||||||
|
|
||||||
extern void el_bind_key(int key, el_keymap_func_t function);
|
extern void el_bind_key(int key, el_keymap_func_t function);
|
||||||
extern void el_bind_key_in_metamap(int key, el_keymap_func_t function);
|
extern void el_bind_key_in_metamap(int key, el_keymap_func_t function);
|
||||||
|
@ -818,6 +818,11 @@ static el_status_t del_char(void)
|
|||||||
return delete_string(Repeat == NO_ARG ? 1 : Repeat);
|
return delete_string(Repeat == NO_ARG ? 1 : Repeat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
el_status_t el_del_char(void)
|
||||||
|
{
|
||||||
|
return del_char();
|
||||||
|
}
|
||||||
|
|
||||||
static el_status_t meta(void)
|
static el_status_t meta(void)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
Loading…
Reference in New Issue
Block a user