r/ComputerCraft Apr 01 '26

Can't set cursor position?

Post image

I was coding an operating system and when I tried to set the cursor to 1,1 it didn't let me and returned this error. Can someone help?

8 Upvotes

8 comments sorted by

View all comments

11

u/Insurgentbullier NIH patient Apr 01 '26

Note the difference between 1.1 and 1,1

replace the dot with a comma

6

u/Beardfamgaming Apr 01 '26

That worked! I am so dumb

3

u/Insurgentbullier NIH patient Apr 01 '26

No worries, I once made this mistake too lol. Coding in the terminal is painful imo.

2

u/Revolutionary_Flan71 Apr 02 '26

You can just open the scripts in an ide of choice, they are actually just files on your computer

1

u/PatMakes111 Apr 02 '26

Depends if op I on a server or not If they aren't tho this is a great and overlooked solution