voldikss / vim-floaterm

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

Floaterm lazygit crash when run external command #408

Open wenijinew opened 1 year ago

wenijinew commented 1 year ago

Before reporting

Environment

If you are using vim(not neovim), fill in the following blanks

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

below.

    floaterm: health#floaterm#check                                                                                                                                                                                                                                            ========================================================================                                                                                                                                                                                                   ## common                                                                                                                                                                                                                                                                    - INFO: Platform: linux                                                                                                                                                                                                                                                    - INFO: Nvim: NVIM v0.8.1                                                                                                                                                                                                                                                  - INFO: Plugin: ff6a871                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ## terminal                                                                                                                                                                                                                                                                  - OK: Terminal emulator is available                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ## floating                                                                                                                                                                                                                                                                  - OK: Floating window is available

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

No

Describe your question, feature request, or bug.

After starting lazygit by command ":Floaterm lazygit", I executed ":git pull origin master", after the command finished, it cannot go back to lazygit by Enter. The Enter key is just typed as ^M. image

Steps to reproduce

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:

Actual behaviour

Expected behaviour

Screenshots(Optional, GIF is better)