This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
tobsam's profile picture

[1.62][SMP/SSP] write(" ") doesn't start a new line

Started by tobsam, 05 April 2014 - 08:21 PM
tobsam #1
Posted 05 April 2014 - 10:21 PM
Minecraft Info:
- Forge 9.11.0 Minecraft 1.6.4
- Computercraft 1.62
- Java-Version 7 Update 51

NOTE: Only tried in SSP, but since it's general I guess it's a bug for both…


Description:

If you do write("1") at the end of a line it jumps to the next, but if you do write(" ") it doesn't, sounds like a bug…



Reproduce / Example:

http://pastebin.com/NFBWiRaw

Read the comments in the code they will explain everything…
dan200 #2
Posted 06 April 2014 - 10:59 AM
This is intentional, have you ever noticed how word wrapping in text editors never show whitespace at the beginning of a line?