Terminal control/Positional read: Difference between revisions
Content added Content deleted
(Add an example for Common Lisp using ncurses) |
No edit summary |
||
Line 241: | Line 241: | ||
=>c |
=>c |
||
</pre> |
</pre> |
||
=={{header|PowerShell}}== |
|||
This gets the character at position (3, 6) of the ''buffer'', not necessarily of the screen. |
|||
<lang powershell> |
|||
$coord = [System.Management.Automation.Host.Coordinates]::new(3, 6) |
|||
$rect = [System.Management.Automation.Host.Rectangle]::new($coord, $coord) |
|||
$char = $Host.UI.RawUI.GetBufferContents($rect).Character |
|||
</lang> |
|||
=={{header|Python}}== |
=={{header|Python}}== |