Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Console bug
#1
Running this program is Windows and Linux/macOS gives differing results. It appears that the functions CSRLIN and POS(0) only work correctly in Windows, when using $CONSOLE:ONLY.
Code: (Select All)
'CSRLIN and POS(0) bug
$CONSOLE:ONLY
LOCATE 10, 10
x = CSRLIN: y = POS(0)
PRINT "Cursor position :"; x; ", "; y

In Windows it reports the location as 10,10. In Linux/macOS it reports 1,1

I have found a workaround, so no big deal. I figured I'd bring it to your attention.
Reply


Messages In This Thread
Console bug - by justsomeguy - 02-21-2026, 05:34 PM
RE: Console bug - by SMcNeill - 02-21-2026, 09:06 PM
RE: Console bug - by justsomeguy - 02-21-2026, 09:45 PM
RE: Console bug - by SMcNeill - 02-22-2026, 02:53 AM
RE: Console bug - by justsomeguy - 02-22-2026, 03:58 PM
RE: Console bug - by a740g - 02-23-2026, 06:59 AM
RE: Console bug - by grymmjack - 03-01-2026, 04:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting Focus between console and terminal cage 4 1,406 09-01-2024, 02:44 AM
Last Post: cage
  Possible Bug SpriggsySpriggs 1 732 04-06-2024, 12:33 AM
Last Post: a740g
Bug D notation bug bplus 13 2,817 08-26-2023, 05:12 PM
Last Post: Jack

Forum Jump:


Users browsing this thread: 1 Guest(s)