joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.54k stars 36 forks source link

Scrolling past top in vim normal mode replaces text #92

Closed arhowe00 closed 8 months ago

arhowe00 commented 10 months ago

When in normal mode within a cell, scrolling up past the top will cause text that was previously in the cell (and deleted) to replace the text that is in the cell.

AT TOP OF CELL: image

I PRESS 'k' AT TOP OF CELL: image

joouha commented 9 months ago

Hi,

This appears to be a bug with the vi-style key-bindings, where k is bound to scrolling through a text-buffer's history.

This behaviour is inherited from prompt_toolkit, but should have been overridden.

I'll work on a fix 👍

joouha commented 8 months ago

Hi - this should be fixed by 9cbf478b9828b2305e796623281ee2439c19ad14 in the dev branch, and will be in the next release 🧲