libedit-3.0-sigwinch.patch 427 B

12345678910111213
  1. --- libedit-20090923-3.0/src/read.c.sigwinch 2009-09-23 22:04:26.000000000 +0100
  2. +++ libedit-20090923-3.0/src/read.c 2010-03-19 20:47:46.000000000 +0000
  3. @@ -301,6 +301,9 @@ read_char(EditLine *el, char *cp)
  4. sig_set(el);
  5. el_set(el, EL_REFRESH);
  6. goto again;
  7. + } else if (el->el_signal->sig_no == SIGWINCH) {
  8. + sig_set(el);
  9. + goto again;
  10. }
  11. if (!tried && read__fixio(el->el_infd, errno) == 0)
  12. tried = 1;