Skip to content

resize debounce in clients.ts #4114

Open
@jerch

Description

Idea to relief some stress from terminal reflow events - create a Terminal.resizeLazy(rows, cols, timeout?) variant, and likewise a FitAddon.fitLazy variant, which debounces resizing within a certain timeout. This would help during window resizing to avoid processing every single number change, and also lower the back-messaging and reflow stress on application side (less SIGWINCH signals).

Not sure if this is useful from UX perspective, prolly needs some experimenting/testing. To be discussed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions