nvim-dap icon indicating copy to clipboard operation
nvim-dap copied to clipboard

Let REPL change previously printed line for progress bars

Open huberb opened this issue 2 years ago • 1 comments

Problem Statement

I would like to use python progress bars (tqdm) with the REPL. I stumbled across this because the tensorflow.keras.fit function has a very messy output.

I attached a video to make it more clear. First you can see the output of running the program with :!python bla.py compare this to the output that you see in the REPL.

https://imgur.com/a/u3hpvU3

Not sure if this is a problem with neovim or with this plugin.

Possible Solutions

No response

Considered Alternatives

No response

huberb avatar Oct 07 '22 22:10 huberb

If you're using console = 'integratedTerminal', in your configuration that should display correctly.

The REPL is a neovim prompt buffer and in general won't handle any special terminal sequence codes.

https://user-images.githubusercontent.com/38700/194714885-06b13b71-a0a1-4086-9e1e-f54b4ae2bad8.mp4

mfussenegger avatar Oct 08 '22 15:10 mfussenegger

Thank you, this solves my issue

huberb avatar Oct 19 '22 13:10 huberb