mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 19:19:24 +02:00
* fix for double-write bug, probably in since r1353
git-svn-id: trunk@2869 -
This commit is contained in:
parent
7a22c36200
commit
eb5d494b12
@ -670,10 +670,13 @@ begin
|
||||
GetScreenCursor(CurrX, CurrY);
|
||||
s:='';
|
||||
for i:=0 to f.bufpos-1 do
|
||||
if f.buffer[i]<#32 then
|
||||
if f.buffer[i] in [#7,#8,#10,#13] then // special chars directly.
|
||||
begin
|
||||
if s<>'' then
|
||||
WriteStr(s);
|
||||
begin
|
||||
WriteStr(s);
|
||||
s:='';
|
||||
end;
|
||||
WriteChar(f.buffer[i]);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user