term_resize event
| term_resize Event  | |
|---|---|
Returns
  | |
| Source | CC:Tweaked | 
Occurs every time the term resizes.
  | 
  |||
| Notifies the user when the term has been resized. | |||
| Code | <nowiki>
while true do
  local event = os.pullEvent("term_resize")
  local x, y = term.getSize()
  print("The term has been resized to", x, ",", y)
end
    </nowiki>
 | 
    ||
    This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.