[Konsole-devel] [Bug 73750] Wrongly handled underline/reverse effects

Waldo Bastian bastian at kde.org
Tue Apr 20 12:46:34 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73750      
bastian kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From bastian kde org  2004-04-20 14:46 -------
CVS commit by waba: 

Default rendition should be used when clearing screen areas (BR73750)
CCMAIL: 73750-done bugs kde org


  M +6 -3      TEScreen.cpp   1.79.2.3


--- kdebase/konsole/konsole/TEScreen.cpp  #1.79.2.2:1.79.2.3
 @ -918,10 +918,13  @ void TEScreen::clearImage(int loca, int 
     clearSelection();
   }
+  
   for (i = loca; i <= loce; i++)
   {
+    // Use the current colors but the default rendition
+    // Check with: echo -e '\033[41;33;07m\033[2Khello world\033[00m'
     image[i].c = c;
-    image[i].f = ef_fg; //DEFAULT_FORE_COLOR; //FIXME: xterm and linux/ansi
-    image[i].b = ef_bg; //DEFAULT_BACK_COLOR; //       many have different
-    image[i].r = ef_re; //DEFAULT_RENDITION;  //       ideas here.
+    image[i].f = cu_fg;
+    image[i].b = cu_bg;
+    image[i].r = DEFAULT_RENDITION;
   }



More information about the konsole-devel mailing list