this hack from commitid 1004651F21443013C37 is no longer necessary (thought so)

This commit is contained in:
tg 2016-07-26 22:55:35 +00:00
parent 3c6fec1db3
commit b330976689
1 changed files with 2 additions and 4 deletions

6
edit.c
View File

@ -28,7 +28,7 @@
#ifndef MKSH_NO_CMDLINE_EDITING #ifndef MKSH_NO_CMDLINE_EDITING
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.302 2016/07/26 21:37:24 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/edit.c,v 1.303 2016/07/26 22:55:35 tg Exp $");
/* /*
* in later versions we might use libtermcap for this, but since external * in later versions we might use libtermcap for this, but since external
@ -1381,9 +1381,7 @@ x_ins(const char *s)
x_lastcp(); x_lastcp();
x_adj_ok = tobool(xcp >= xlp); x_adj_ok = tobool(xcp >= xlp);
x_zots(cp); x_zots(cp);
if (xlp == xep - 1) if (adj == x_adj_done)
x_redraw('\r');
else if (adj == x_adj_done)
/* x_adjust() has not been called */ /* x_adjust() has not been called */
x_lastpos(); x_lastpos();
x_adj_ok = true; x_adj_ok = true;