Skip to content

[FEATURE] Add Local Echo / Input Prediction to mitigate typing latency over high-ping SSH connections #2268

Description

@engix3

What do you want?

Currently, Chaterm relies entirely on remote echo for terminal typing. When connecting to remote servers with high network latency (ping >100ms), there is a noticeable lag between a keypress and the character actually rendering on the screen.

Modern SSH clients like Termius or VS Code's integrated terminal solve this issue by implementing Local Echo (also known as input prediction or latency mitigation). It would be amazing to have this feature in Chaterm to make the typing experience feel snappy and instantaneous, regardless of the ping to the host.

How should it work?

  1. Add a new setting under Terminal Settings, for example: "Enable Local Echo" or "Input Prediction Threshold".
  2. When enabled, Chaterm should immediately render typed characters locally in the terminal window before the round-trip response from the remote SSH server is completed.
  3. Optionally, the predicted characters can be slightly dimmed or styled differently until confirmed by the server, just like in VS Code or Termius.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions