vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Odd behavior from Windows

HugoFlorentino opened this issue · comments

On my laptop, there is no PgDn key, instead I have to use Fn + Down. However ved ignores the key combination; nothing happens.

Also, using the Down key alone moves the cursor, but after reaching the last line visible on screen, the cursor is simply lost from sight, and the screen doesn't scroll to follow it.

I also tried j and even G, but the screen simply doesn't scroll. However if I use Ctrl + F it does scroll down. So the functionality is there. Besides, from the bottom of the file, if I use the Up or k or gg commands, it does scroll up to follow the cursor. So the problem happens only with scrollling down.

Should be fixed, can you check?

Should be fixed, can you check?

The PgDn now does work.
However when you use j or Down, after the cursor passes the last line of the screen, it is lost from sight and the screen does not follow it.
The screen does follow cursor from the bottom of the file going up, though.

Ok I know what this is. Will fix a bit later, for you can use ./ved -laptop file.v

Ok I know what this is. Will fix a bit later, for you can use ./ved -laptop file.v

It almost works with the argument -laptop but not quite, yet.
When going down line by line, when one reaches the bottom, the screen scrolls down a little, but not enough, so one keeps losing the cursor from sight.