NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/56647: Fix misbehaviour in libedit support for readline
The following reply was made to PR lib/56647; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/56647: Fix misbehaviour in libedit support for readline
Date: Sat, 22 Jan 2022 12:35:17 -0500
--Apple-Mail=_1043A9AA-0694-4C68-ACF4-DA26BA94C693
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii
Hi Walter,
Please submit patches with diff -u so we can get some context.
It would also be nice if you had a description how to reproduce the issue.
Anyway is this what you mean in your patch?
Thanks,
christos
Index: readline.c
===================================================================
RCS file: /cvsroot/src/lib/libedit/readline.c,v
retrieving revision 1.169
diff -u -p -u -r1.169 readline.c
--- readline.c 11 Jan 2022 18:30:15 -0000 1.169
+++ readline.c 22 Jan 2022 17:34:06 -0000
@@ -2149,6 +2149,7 @@ rl_callback_read_char(void)
wbuf = NULL;
(*(void (*)(const char *))rl_linefunc)(wbuf);
}
+ _rl_update_pos();
}
void
@@ -2176,6 +2177,7 @@ rl_redisplay(void)
a[0] = (char)e->el_tty.t_c[TS_IO][C_REPRINT];
a[1] = '\0';
el_push(e, a);
+ rl_forced_update_display();
}
int
--Apple-Mail=_1043A9AA-0694-4C68-ACF4-DA26BA94C693
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYexAVQAKCRBxESqxbLM7
OuRiAJ0UXp/HxtaQ4HYRZEuhQongOV410ACcDvUFNDdWeF34bpCeyLtCypK6aS8=
=p4aS
-----END PGP SIGNATURE-----
--Apple-Mail=_1043A9AA-0694-4C68-ACF4-DA26BA94C693--
Home |
Main Index |
Thread Index |
Old Index