vim-floaterm icon indicating copy to clipboard operation
vim-floaterm copied to clipboard

Floaterm lazygit crash when run external command

Open wenijinew opened this issue 1 year ago • 0 comments

Before reporting

  • Please make sure you have searched through the F.A.Q. first.

  • Please make sure you are using the latest version of this plugin.

  • It's better to use English as it's more friendly to other non-Chinese native users.

Environment

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

  • Output of vim --version:

  • Platform:

    • [ ] Linux
    • [ ] Mac OS X
    • [ ] Windows

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)

wenijinew avatar Apr 30 '23 05:04 wenijinew