Răsfoiți Sursa

* fixed the 256-color support for konsole

Nikolay Nikolov 3 ani în urmă
părinte
comite
28732fffa2
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      packages/rtl-console/src/unix/video.pp

+ 2 - 2
packages/rtl-console/src/unix/video.pp

@@ -377,12 +377,12 @@ begin
           if TerminalSupportsBold and (ofg and 8<>0) then
             attr2ansi:=attr2ansi+'22;';
           Str(Fg,tmpS);
-          attr2ansi:=attr2ansi+'38:5:'+tmpS+';';
+          attr2ansi:=attr2ansi+'38;5;'+tmpS+';';
         end;
       if Bg<>OBg then
         begin
           Str(Bg,tmpS);
-          attr2ansi:=attr2ansi+'48:5:'+tmpS+';';
+          attr2ansi:=attr2ansi+'48;5;'+tmpS+';';
         end;
     end
   else