voldikss / vim-floaterm

:computer: Terminal manager for (neo)vim
MIT License
2.47k stars 78 forks source link

Cannot toggle terminal when theres many lines #374

Closed TroySigX closed 1 year ago

TroySigX commented 1 year ago

Before reporting

Environment

If you are using neovim, just run :checkhealth floaterm and post the content

below.

floaterm: health#floaterm#check

common

terminal

floating

Configurations related to vim-floaterm in vimrc(i.e. g:floaterm_xxx):

let g:floaterm_position = 'topright' let g:floaterm_width = 0.6 let g:floaterm_height = 0.6

noremap :w:FloatermToggle inoremap <C-> :w:FloatermToggle tnoremap <C-> :FloatermToggle

Describe your question, feature request, or bug.

When there's many lines in the terminal, I cannot use F9 to close the terminal

Steps to reproduce

Keep entering command "echo 123" in the terminal for around 10 times

Using the minimal vimrc

set nocompatible
set hidden
set termguicolors
set runtimepath^=/path/to/vim-floaterm
filetype plugin indent on
syntax on

Steps to reproduce the behavior:

Keep entering command "echo 123" in the terminal for around 10 times. Then press F9.

Actual behaviour

Cannot close terminal

Expected behaviour

Able to close terminal

Screenshots(Optional, GIF is better)