mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
fix: clear command (#565)
This commit is contained in:
parent
abdc76d229
commit
fef08f32b9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue