*** empty log message ***
authorroot <root>
Wed, 9 Jan 2008 01:14:29 +0000 (01:14 +0000)
committerroot <root>
Wed, 9 Jan 2008 01:14:29 +0000 (01:14 +0000)
Changes
src/command.C
src/screen.C

diff --git a/Changes b/Changes
index 7fdc4ee..08934f0 100644 (file)
--- 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
index ee2ef39..a02827a 100644 (file)
@@ -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);
index 0a2800e..7e1706f 100644 (file)
@@ -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
         }