|
@@ -1098,11 +1098,11 @@ begin
|
|
{$endif logging}
|
|
{$endif logging}
|
|
{ save new terminal characteristics and possible restore rawness }
|
|
{ save new terminal characteristics and possible restore rawness }
|
|
videoInitDone;
|
|
videoInitDone;
|
|
|
|
+
|
|
|
|
+ decide_codepages;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
ErrorCode:=errVioInit; { not a TTY }
|
|
ErrorCode:=errVioInit; { not a TTY }
|
|
-
|
|
|
|
- decide_codepages;
|
|
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure SysDoneVideo;
|
|
procedure SysDoneVideo;
|
|
@@ -1234,7 +1234,7 @@ begin
|
|
the terminal window size.}
|
|
the terminal window size.}
|
|
SysSetVideoMode:=false;
|
|
SysSetVideoMode:=false;
|
|
fpioctl(stdinputhandle,TIOCGWINSZ,@winsize);
|
|
fpioctl(stdinputhandle,TIOCGWINSZ,@winsize);
|
|
- if (mode.row=winsize.ws_row) and
|
|
|
|
|
|
+ if (mode.row=winsize.ws_row) and
|
|
(mode.col=winsize.ws_col) then
|
|
(mode.col=winsize.ws_col) then
|
|
begin
|
|
begin
|
|
screenwidth:=mode.col;
|
|
screenwidth:=mode.col;
|