typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
12 stars 0 forks source link

Typing ^ on AZERTY layout in vim normal mode deletes many lines #321

Open Champitoad opened 5 months ago

Champitoad commented 5 months ago

Description

This is a quite specific bug, but it has caused me to lose like 4 hours of work so...

When I type the ^ symbol on my AZERTY keyboard in vim normal mode, it sometimes deletes the n first lines of the file, where n varies depending on the line number l where the cursor is positioned. It is hard to understand the precise behavior, but it seems that n is somewhat proportional to l.

Importantly, when I change the layout virtually to QWERTY (in GNOME settings), the bug disappears: the cursor just goes to the beginning of the line, as expected.

I linked a project with a dummy text file for reproduction purposes.

Reproduction URL

https://typst.app/project/wOG0fnU2T6ESuM4Lyc6eLC

Browsers

Firefox

OS

Linux