@@ -12602,6 +12602,7 @@ tests/webtbs/tw20872c.pp svneol=native#text/pascal
tests/webtbs/tw20873.pp svneol=native#text/plain
tests/webtbs/tw20874a.pp svneol=native#text/pascal
tests/webtbs/tw20874b.pp svneol=native#text/pascal
+tests/webtbs/tw20880.pp -text svneol=native#text/plain
tests/webtbs/tw20889.pp svneol=native#text/pascal
tests/webtbs/tw20909.pp svneol=native#text/pascal
tests/webtbs/tw20940.pp svneol=native#text/pascal
@@ -112,7 +112,10 @@ Function XY2Ansi(x,y,ox,oy:longint):String;
Returns a string with the escape sequences to go to X,Y on the screen
}
Begin
- if y=oy then
+ { in case of potential ox overflow, send full position information
+ (mantis #20880) }
+ if (y=oy) and
+ (ox<>$ff) then
begin
if x=ox then
@@ -0,0 +1,21 @@
+{ %interactive }
+
+program CrtBug;
+uses Crt;
+begin
+ ClrScr;
+ Window(windmaxx - 25, 5, windmaxx, 20);
+ TextColor(LightRed);
+ TextBackground(Cyan);
+ while not KeyPressed do
+ begin
+ Write('R=', Random(256), ' ');
+ Delay(100);
+ end;
+ ReadKey;
+end.