Skip to content

Floaterm lazygit crash when run external command #408

Description

@wenijinew

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions