window.reposition

From ComputerCraft
Jump to: navigation, search

window.reposition
Function
Syntax
window.reposition()
Returns nil
API window
Source CC:Tweaked (source)

Moves and optional resizes a window.

ExampleExampleMove a Window
Move a Window
Code
local win = window.create(term.current(),1,1,10,10)
win.reposition(5,5)