Skip to content

Delayed key inputs on master but not on iced14 #222

@acul009

Description

@acul009

Hi, I'm using your lovely library to make my dropdown terminal work with wayland.

Today I updated to master, because I was it's using iced 0.14 too.
But after updating, the terminal started to kind of stutter and have a delayed response.

After a bit of research, I found this line to be the culprit:

TimeoutAction::ToDuration(std::time::Duration::from_millis(50))

The Messages only get delivered every 50 ms. This causes a somewhat of putting stutter when typing.

I'm guessing the delay is that high for performance reasons, possibly from ticket #78 ?
Would just reducing the cooldown to something like 5ms be a viable solution or should I rather try to decouple the message delivery from that event source into it's own?

Thanks for your work and your great library.

If you want to take a look the the terminal I'm building, you can find it here:
https://github.com/rahn-it/frostbyte_terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions