fix: clear command (#565)

This commit is contained in:
Feliche-Demian Netliukh 2024-04-19 12:23:57 +01:00 committed by GitHub
parent abdc76d229
commit fef08f32b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -338,7 +338,7 @@ end
--check for os type and perform os specific clear command
function Terminal:clear()
local clear = is_windows and "cls" or "clear"
self:send(term)
self:send(clear)
end
---Update the directory of an already opened terminal