mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 11:09:15 +02:00
* tune new variable TerminalSupportsBold and TerminalSupportsHighIntensityColors
for BeOS and Haiku. * BeOS : the terminal is very limited. Disabling both give best result. * Haiku : Haiku's terminal claims to be xterm but has it's own problems. git-svn-id: trunk@13741 -
This commit is contained in:
parent
5c64c75dd7
commit
2e8a93da16
@ -1116,14 +1116,24 @@ begin
|
||||
cur_term_strings:=terminal_data[i];
|
||||
if cur_term_strings=@term_codes_xterm then
|
||||
begin
|
||||
{$ifdef haiku}
|
||||
TerminalSupportsBold := true;
|
||||
TerminalSupportsHighIntensityColors := false;
|
||||
{$else}
|
||||
TerminalSupportsBold := false;
|
||||
TerminalSupportsHighIntensityColors := true;
|
||||
{$endif}
|
||||
end
|
||||
else
|
||||
begin
|
||||
TerminalSupportsBold := true;
|
||||
TerminalSupportsHighIntensityColors := false;
|
||||
end;
|
||||
if cur_term_strings=@term_codes_beos then
|
||||
begin
|
||||
TerminalSupportsBold := false;
|
||||
TerminalSupportsHighIntensityColors := false;
|
||||
end;
|
||||
if cur_term_strings=@term_codes_freebsd then
|
||||
console:=ttyFreeBSD;
|
||||
{$ifdef linux}
|
||||
|
Loading…
Reference in New Issue
Block a user