Re: fix for readline terminal size problems when window is resized with open pager
| От | Alvaro Herrera |
|---|---|
| Тема | Re: fix for readline terminal size problems when window is resized with open pager |
| Дата | |
| Msg-id | 20151214203707.GE2618@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: fix for readline terminal size problems when window is resized with open pager (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: fix for readline terminal size problems when window is resized with open pager
|
| Список | pgsql-hackers |
Tom Lane wrote: > I wrote: > > Merlin Moncure <mmoncure@gmail.com> writes: > >> The following patch deals with a long standing gripe of mine that the > >> terminal frequently gets garbled so that when typing. > > > Hm. I wonder whether rl_resize_terminal() exists in every iteration > > of libreadline and libedit. > > Quick followup: rl_resize_terminal() exists in GNU readline at least as > far back as 4.0 (released Feb 1999). However, it doesn't seem to be there > at all in libedit; I don't see it in OS X Yosemite's headers, anyway. > So we'd need a configure test for this. In libedit (NetBSD's at least) there is el_resize() which seems to do the same thing. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: