Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/nvi/cl Work around PR#43839, by calling resizeterm() on...



details:   https://anonhg.NetBSD.org/src/rev/4efaa86b1fc3
branches:  trunk
changeset: 769835:4efaa86b1fc3
user:      jdc <jdc%NetBSD.org@localhost>
date:      Sat Sep 24 18:57:46 2011 +0000

description:
Work around PR#43839, by calling resizeterm() on SIGWINCH.

diffstat:

 dist/nvi/cl/cl_term.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 685159604816 -r 4efaa86b1fc3 dist/nvi/cl/cl_term.c
--- a/dist/nvi/cl/cl_term.c     Sat Sep 24 18:49:13 2011 +0000
+++ b/dist/nvi/cl/cl_term.c     Sat Sep 24 18:57:46 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cl_term.c,v 1.2 2008/12/05 22:51:42 christos Exp $ */
+/*     $NetBSD: cl_term.c,v 1.3 2011/09/24 18:57:46 jdc Exp $ */
 
 /*-
  * Copyright (c) 1993, 1994
@@ -414,6 +414,7 @@
                        *rowp = row;
                if (colp != NULL)
                        *colp = col;
+               resizeterm(row, col);
                return (0);
        }
 



Home | Main Index | Thread Index | Old Index