nom icon indicating copy to clipboard operation
nom copied to clipboard

Bug: incorrect view when going up using the up arrow key in an item

Open oppZ opened this issue 1 year ago • 4 comments

When entering in an item, going down using the arrow key down works, but not the arrow up. When using the arrow up, only the first line will refresh. If we went a few times up using up key and then arrow key down, the view refreshes to the correct one.

In the demo, we can also see some lines being duplicated when pressing the arrow key down

Demo:

demo2

oppZ avatar Jun 03 '24 21:06 oppZ

thanks for the report @oppZ. What system/shell/terminal are you using

guyfedwards avatar Jun 07 '24 16:06 guyfedwards

thanks for the report @oppZ. What system/shell/terminal are you using

I'm using Ubuntu 24.04 lts and the default terminal with default shell that is bash

oppZ avatar Jun 07 '24 16:06 oppZ

I get this as well, archlinux using alacritty.

GotoStart and GotoEnd work fine (likely because they use they merely alter the position of the buffer.

Whereas Next and Previous do quite a bit of custom state management (converting HTML to markdown and more).

But I'm a super novice at bubbletea and this project in general. Curious to know if I'm on the right track.

Freyert avatar Jun 21 '24 02:06 Freyert

Are you able to reproduce this in more recent versions @Freyert @oppZ ?

guyfedwards avatar Jul 06 '25 19:07 guyfedwards