Console In/Out Window adds extra linefeeds under Linux
Original Reporter info from Mantis: taumetric
-
Reporter name: Jeff
Original Reporter info from Mantis: taumetric
- Reporter name: Jeff
Description:
The Console In/Out window adds extra lines if a Write is done with a long enough Sleep between them. This does not occur if the program is run in a normal terminal window only if run from Linux Lazarus IDE. Windows 10 does not have this problem due to no Console In/Out window.
Lazarus 2.0.6 rUnversioned directory FPC 3.0.4 x86_64-linux-gtk2
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
Example Console In/Out Window:
1
2
3
4
5
Example terminal window
12345
Steps to reproduce:
Run the following program once from Lazarus and the next time from a terminal window.
program Project1;
uses
sysutils;
var
i: Integer;
begin
for i := 1 to 5 do begin
Write(i);
Sleep(100);
end;
end.
Mantis conversion info:
- Mantis ID: 36898
- Version: 2.0.6
- Fixed in version: 2.2
- Fixed in revision: 63132 (#69cd1abf)
- Target version: 2.2