Browse Source

* 2.0 workaround

git-svn-id: trunk@2379 -
daniel 19 years ago
parent
commit
0c050527ca
1 changed files with 4 additions and 1 deletions
  1. 4 1
      rtl/unix/video.pp

+ 4 - 1
rtl/unix/video.pp

@@ -875,6 +875,9 @@ begin
 end;
 end;
 
 
 procedure SysDoneVideo;
 procedure SysDoneVideo;
+
+var font_custom:array[0..2] of char=#27'(K';
+
 begin
 begin
   prepareDoneVideo;
   prepareDoneVideo;
 {$ifdef linux}
 {$ifdef linux}
@@ -894,7 +897,7 @@ begin
          {Executed in case ttylinux is false (i.e. no vcsa), but
          {Executed in case ttylinux is false (i.e. no vcsa), but
           TERM=linux.}
           TERM=linux.}
          {Enable the character set set through setfont}
          {Enable the character set set through setfont}
-         fpwrite(stdoutputhandle,#27'(K',3);
+         fpwrite(stdoutputhandle,font_custom,3);
        end;
        end;
 {$ifdef linux}
 {$ifdef linux}
    end;
    end;