Skip to content

Commit

Permalink
Reset cursor position in EXAMPLE.lua
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed May 29, 2013
1 parent b6b36e9 commit 33522f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EXAMPLE.lua
Expand Up @@ -41,6 +41,7 @@ function printColouredBars(str, first)
end

function profile()
term.setCursorPos(1, 1)
local file = fs.open("profile.txt", "r")
local text = file.readAll()
file.close()
Expand Down

0 comments on commit 33522f0

Please sign in to comment.