mirror of
https://github.com/troglobit/editline.git
synced 2025-05-05 20:11:12 +08:00
Drop orig. effort to support WIN32
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
fc866f60d6
commit
9d4c6f7042
@ -1753,14 +1753,6 @@ static el_status_t accept_line(void)
|
||||
return CSdone;
|
||||
}
|
||||
|
||||
#ifdef SYSTEM_IS_WIN32
|
||||
static el_status_t end_of_input(void)
|
||||
{
|
||||
rl_line_buffer[rl_end] = '\0';
|
||||
return CSeof;
|
||||
}
|
||||
#endif
|
||||
|
||||
static el_status_t transpose(void)
|
||||
{
|
||||
char c;
|
||||
@ -1972,11 +1964,7 @@ static el_keymap_t Map[64] = {
|
||||
{ CTL('W'), bk_kill_word },
|
||||
{ CTL('X'), exchange },
|
||||
{ CTL('Y'), yank },
|
||||
#ifdef SYSTEM_IS_WIN32
|
||||
{ CTL('Z'), end_of_input },
|
||||
#else
|
||||
{ CTL('Z'), el_ring_bell },
|
||||
#endif
|
||||
{ CTL('['), meta },
|
||||
{ CTL(']'), move_to_char },
|
||||
{ CTL('^'), el_ring_bell },
|
||||
|
Loading…
Reference in New Issue
Block a user