Terminal control/Restricted width positional input/No wrapping: Difference between revisions

Content added Content deleted
(Added Go)
m (→‎{{header|Go}}: Removed empty lines at top and bottom of code window.)
Line 19: Line 19:
<br>
<br>
This uses _getch() rather than _getwch() as only ASCII is supported.
This uses _getch() rather than _getwch() as only ASCII is supported.
<lang go>
<lang go>package main
package main


/*
/*
Line 83: Line 82:
setCursor(coord)
setCursor(coord)
fmt.Printf("You entered '%s'\n", s)
fmt.Printf("You entered '%s'\n", s)
}</lang>
}
</lang>


=={{header|Kotlin}}==
=={{header|Kotlin}}==