akinsho / toggleterm.nvim

A neovim lua plugin to help easily manage multiple terminal windows
GNU General Public License v3.0
4.24k stars 170 forks source link

Terminal doesn't toggle after update to the latest version #489

Closed diegoulloao closed 1 year ago

diegoulloao commented 1 year ago

Is there an existing issue for this?

Current Behavior

After update (latest version) the terminal doesn't toggle. It just open but it doesn't close.

Expected Behavior

Toggle when pressing the same keybind for open_mappping in the setup.

Steps To Reproduce

Just toggle.

Environment

- OS: Ventura 13.5.1
- neovim version:

NVIM v0.10.0-dev-673+g622ae2f53-Homebrew
Build type: Release
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info

Screen recording:

https://github.com/akinsho/toggleterm.nvim/assets/45423661/4852205e-e4b8-4c5c-b0a1-facfd342e293

5i1ent commented 1 year ago

OS: pop-os 22.03 NVIM v0.9.1 Build type: Relese LuaJIT 2.1.0-beta3

require("toggleterm").setup({
    direction = 'horizontal',
    size = 26,
    shade_terminals = false,
    start_in_insert = true,
    autochdir = true,
    hide_numbers = true,
    float_opts = {
        border = 'single',
    },
})

same experience as above.

diegoulloao commented 1 year ago

It looks like some changes introduced yesterday.

Roboticyang commented 1 year ago

Same here.

akinsho commented 1 year ago

Reverted the changes in #488 should fix this

willothy commented 1 year ago

Sorry about that y'all, seems that solving one issue (#487) caused another.