akinsho / akinsho/toggleterm.nvim

[BUG] Takes too much time to open terminal if the buffer is large

Open
#610 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Lua
Stars
5.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

If i run tree / in a normal :term buffer i can open it instantly, however if i do it with toggleterm then it takes a lot of time to open the terminal

### Expected Behavior

It takes the same time than :term command

### Steps To Reproduce

Install plugin, run tree / wait for the screen to load a lot of text, then toggleterm and the time it takes to open is very large

### Environment

```Markdown
- OS:
- neovim version:
- Shell: zsh
```

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.