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

[1.63][SSP]Line moving

Started by Umbre0n, 25 June 2014 - 08:49 PM
Umbre0n #1
Posted 25 June 2014 - 10:49 PM
Version:1.63

Description: When "ù" character is typed in a text zone, the pixels after the character are moved to the left.They become normal again if the "ù" is removed.

Expected result: nothing special, the character should just appear like any other.

Reproduction step: Write a program which draws a colored line with a pixel (with a different color) in the center of the line and let the user type from the start of the line (1,1).Type "ù" in the text zone.

Screenshots:

(Grossly edited with MS Paint.)

Code:

term.setBackgroundColor(colors.blue)
term.clear()
paintutils.drawPixel(10,1,colors.green)
term.setCursorPos(1,1)
read()
Edited on 25 June 2014 - 08:50 PM
Cranium #2
Posted 25 June 2014 - 10:51 PM
I believe this is occuring with any special characters. I also had this issue with minecraft color code characters ( § ), and it would constantly move the blinking cursor away from where the cursor actually was.