Skip to content

Commit

Permalink
toggleterm usage
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip authored Sep 17, 2022
1 parent 50f146e commit dbe6be0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@ Then, just run `lazyfivem` in any terminal.
* **ENTER** - Starts the selected when you're in the sidebar view, and executes the command when you're in the command exec view.

![image](https://user-images.githubusercontent.com/59088889/189553625-afa0926d-a16d-4be3-8023-fb20f4e8f95c.png)


## Toggleterm
```lua
local lazyfivem = Terminal:new({
cmd = "lazyfivem",
direction = "float",
count = 15,
float = {
border = "double",
}
})
function _lazyfivem_toggle()
lazyfivem:toggle()
end
```

0 comments on commit dbe6be0

Please sign in to comment.