From 4a1fa9bb41330d43014cecdf31351f5fdae1f811 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Jan 2008 01:14:29 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 3 +++ src/command.C | 5 ++++- src/screen.C | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 7fdc4eec..08934f0f 100644 --- a/Changes +++ b/Changes @@ -19,6 +19,9 @@ DUMB: support tex fonts - continuously update transparency while moving/resizing now. - scrollbar code cleanups. + - cub1 now acts as advertised (and ignores the "wrapped" state). + - the 132/80 mode switch now forces a height of 24, too, and + resets the terminal. 8.9 Mon Dec 24 07:51:40 CET 2007 - fix the issue where urxvtd would not immediately close a window diff --git a/src/command.C b/src/command.C index ee2ef399..a02827a5 100644 --- a/src/command.C +++ b/src/command.C @@ -3672,7 +3672,10 @@ rxvt_term::process_terminal_mode (int mode, int priv UNUSED, unsigned int nargs, break; case 3: /* 80/132 */ if (priv_modes & PrivMode_132OK) - set_widthheight (((state ? 132 : 80) * fwidth), height); + { + scr_poweron (); + set_widthheight (((state ? 132 : 80) * fwidth), 24 * fheight); + } break; case 4: /* smooth scrolling */ set_option (Opt_jumpScroll, !state); diff --git a/src/screen.C b/src/screen.C index 0a2800e7..7e1706fc 100644 --- a/src/screen.C +++ b/src/screen.C @@ -1019,7 +1019,8 @@ rxvt_term::scr_backspace () NOTHROW { #ifdef TERMCAP_HAS_BW screen.cur.col = ncol - 1; - screen.cur.row--; + --screen.cur.row; + want_refresh = 1; #endif } -- 2.34.1