rvaiya / warpd

A modal keyboard-driven virtual pointer
MIT License
2.9k stars 131 forks source link

Config from stdin makes normal mode laggy #244

Closed alanxoc3 closed 1 year ago

alanxoc3 commented 1 year ago

Here is my version:

> warpd --version               
warpd v1.3.5 (built from: 31192c3)

If I run this command, the "jkhl" keybindings in normal mode are laggy, (cursor jumps weirdly instead of smoothly moving)

echo | warpd -c - -f --oneshot

However, they are not laggy if I don't read from stdin:

echo > f.txt
warpd -c f.txt -f --oneshot
rvaiya commented 1 year ago

I believe this should be fixed in the latest commit.

On Mon, May 29, 2023 at 9:06 PM Alan Morgan @.***> wrote:

Here is my version:

warpd --version warpd v1.3.5 (built from: 31192c3)

If I run this command, the "jkhl" keybindings in normal mode are laggy, (cursor jumps weirdly instead of smoothly moving)

echo | warpd -c - -f --oneshot

However, they are not laggy if I don't read from stdin:

echo > f.txt warpd -c f.txt -f --oneshot

— Reply to this email directly, view it on GitHub https://github.com/rvaiya/warpd/issues/244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOP7GKJ4UPYK6RXJIBHYRTXIVB2TANCNFSM6AAAAAAYTJYYYU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alanxoc3 commented 1 year ago

Just tested, thanks. It's fixed now.