ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.19 by pcg, Wed Dec 24 09:22:29 2003 UTC vs.
Revision 1.20 by pcg, Fri Jan 16 16:34:56 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: main.c 2 * File: main.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: main.C,v 1.19 2003/12/24 09:22:29 pcg Exp $ 4 * $Id: main.C,v 1.20 2004/01/16 16:34:56 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> 7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
8 * - original version 8 * - original version
9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
636 * Called after a window size change. 636 * Called after a window size change.
637 */ 637 */
638void 638void
639rxvt_term::tt_winch () 639rxvt_term::tt_winch ()
640{ 640{
641 struct winsize ws; 641 struct winsize ws;
642 642
643 if (cmd_fd < 0) 643 if (cmd_fd < 0)
644 return; 644 return;
645 645
646 ws.ws_col = TermWin.ncol; 646 ws.ws_col = TermWin.ncol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines