this hack from commitid 1004651F21443013C37 is no longer necessary (thought so)
This commit is contained in:
parent
3c6fec1db3
commit
b330976689
6
edit.c
6
edit.c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue