Skip to content

Commit

Permalink
Drop orig. effort to support WIN32
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Feb 19, 2022
1 parent fc866f6 commit 9d4c6f7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/editline.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 },
Expand Down

0 comments on commit 9d4c6f7

Please sign in to comment.