Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Lines send before REPL is opened #547

Open
1 task done
raffaem opened this issue Mar 1, 2024 · 0 comments
Open
1 task done

[BUG] Lines send before REPL is opened #547

raffaem opened this issue Mar 1, 2024 · 0 comments

Comments

@raffaem
Copy link
Contributor

raffaem commented Mar 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I send line to terminal, with whatever command, for example with

require("toggleterm").send_lines_to_terminal("single_line", trim_spaces, { args = vim.v.count })

the line is send a first time before the REPL is opened, and a second time after it has been opened.

Here is a video:
20240301T132234.webm

Expected Behavior

The line should be send only one time after the REPL has opened.

Steps To Reproduce

  1. Open a file
  2. Send line to terminal

Environment

- OS: Arch Linux
- neovim version: 0.9.5
- Shell: bash

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant