Browse Source

* fixed the 256-color support for konsole

Nikolay Nikolov 3 years ago
parent
commit
28732fffa2
1 changed files with 2 additions and 2 deletions
  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
           if TerminalSupportsBold and (ofg and 8<>0) then
             attr2ansi:=attr2ansi+'22;';
             attr2ansi:=attr2ansi+'22;';
           Str(Fg,tmpS);
           Str(Fg,tmpS);
-          attr2ansi:=attr2ansi+'38:5:'+tmpS+';';
+          attr2ansi:=attr2ansi+'38;5;'+tmpS+';';
         end;
         end;
       if Bg<>OBg then
       if Bg<>OBg then
         begin
         begin
           Str(Bg,tmpS);
           Str(Bg,tmpS);
-          attr2ansi:=attr2ansi+'48:5:'+tmpS+';';
+          attr2ansi:=attr2ansi+'48;5;'+tmpS+';';
         end;
         end;
     end
     end
   else
   else