Terminal control/Restricted width positional input/No wrapping: Difference between revisions
Content added Content deleted
(Added Wren) |
(→{{header|Wren}}: Removed unused function.) |
||
Line 329: | Line 329: | ||
Due to a bug the ''Stdin.readByte()'' method can currently process only the first byte of a multi-byte character. The others are skipped. |
Due to a bug the ''Stdin.readByte()'' method can currently process only the first byte of a multi-byte character. The others are skipped. |
||
<lang ecmascript>import "io" for Stdin, Stdout |
<lang ecmascript>import "io" for Stdin, Stdout |
||
var cls = Fn.new { |
|||
System.write("\e[2J") |
|||
Stdout.flush() |
|||
} |
|||
var textAtPos = Fn.new { |text, r, c| |
var textAtPos = Fn.new { |text, r, c| |