Skip to content

Possible regression: Error after closing the pane #229

@tscolari

Description

@tscolari

Hello there, I think there is a regression at some recentish change 🤔
I use vimux as the strategy for nvim-neotest, and up until recently the behaviour it presented was, for example:

- run some tests
- it would open a pane, and run the tests there
- I could close the pane
- run again some other tests
- it would open another pane

Now, what is happening is that when I close the pane, if I try to run the command again I'll get this error from vimux for example:

Error detected while processing function test#run[27]..test#execute[23]..test#shell[19]..test#strategy#vimux[2]..VimuxClearTerminalScreen[2]..VimuxSendKeys[2]..VimuxTmux[8]..function test#ru
n[27]..test#execute[23]..test#shell[19]..test#strategy#vimux[2]..VimuxClearTerminalScreen[2]..VimuxSendKeys[2]..VimuxTmux:                                                                    
line    8:                                                                                                                                                                                    
E605: Exception not caught: Tmux command failed with message:can't find pane: %71^@

Is this intended?
I've been trying to find out what could be causing this, any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions