Jump to content




Writing text to new line (mining turtle console)


  • You cannot reply to this topic
1 reply to this topic

#1 minibren

  • New Members
  • 1 posts

Posted 24 April 2013 - 11:07 AM

I am having a very simple problem with my program I am designing for a mining turtle. I ask the user a question in the console using the "term.write" command, however if I make the question too long the text just continues off the edge of the console window. Maybe I need to use a different command to write the text?

One other problem I also have related to this is with using "read()" to get a data input from a player. I would like to enter the data input under the question I have just asked, however instead what happens is when I type into the console it appears at the end of the question/text instead.

Any help would be appreciated.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 01 May 2013 - 09:57 AM

Split into new topic.

The desired behavior can be achieved by using print() instead of term.write().





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users