piface / pifacecad

PiFace Control and Display
GNU General Public License v3.0
47 stars 38 forks source link

LCD scanf doesn't work with newline character in text #3

Open thomasmacpherson opened 10 years ago

thomasmacpherson commented 10 years ago

LCD scanf doesn't work with newline character in text. The text will print in the correct place, but when using the rocker switch to flick through the different settable values, they will be off screen and move the viewing area to where they would be located if the newline character wasn't there.

eg: scanner = pifacecadtools.LCDScanf("text here \n text %3i > %3i%r") result= scanner.scan()