Skip to content

resize debounce in clients.ts #4114

Open
@jerch

Description

@jerch

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.

Metadata

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