milanglacier / yarepl.nvim

Yet Another REPL, flexible, supporting multiple paradigms to interact with REPLs, project-level configs, working with tmux, telescope integration, and native dot repeat.
GNU General Public License v3.0
97 stars 3 forks source link

Delayed \r send after sendig does not works for large chunk of codes on Windows #24

Open kalocsaibotond opened 5 months ago

kalocsaibotond commented 5 months ago

I have installed yarepl.nvim into my LazyVim config and I tried to use it on Windows, with IPython. When I try to send large pieces of code into the IPython REPL, the code is sent (i. e. pasted there) but not entered into the prompt. To enter the code I either have to manually go to the REPL input , or send a small piece of code subsequently. The large piece of code is a piece that is out of screen on an 1080p monitor, with WezTerm, 10 font size. For smaller code it seems to work. I suspect that this bug comes from the IPython's windows implementation, rather then the yarepl plugin. But the little hack for windows does not work fully.

Otherwise this is a splendid plugin that adresses much of the issues with iron.nvim .

I used:

milanglacier commented 4 months ago

If you mean that the code has been executed but not displayed in the ipython window, this is normal. I observe this behavior on linux and mac. But if the code can be successfully executed, I don't think it matters. Since this is already a lengthy chunk of code, I suspect that one will really need to look at the sent code thoroughly in the iPython window.

milanglacier commented 4 months ago

, the code is sent (i. e. pasted there) but not entered into the prompt. ?

Is this what you mean ? (where only the last several lines are displayed, but the whole chunk are executed)

Screenshot 2024-05-30 at 20 41 33