mobile-shell / mobile-shell/mosh

nload & ioload plots sometimes drift sideways

Open
#1,387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

With mosh-server 1.4.0 (Debian 13), sometimes nload starts scr

On the left is nload-over-ssh, but on the right is nload-over-mosh. nload-over-mosh starts drawing correctly, but eventually the top text area will slide sideways. This doesn't usually happen immediately, and only seems to happen when the plot contains nonzero vertical values.

Image

ioload is based on the nload codebase, has same issue:

Image

For both terminals,

$ export | grep TERM
declare -x COLORTERM="truecolor"
declare -x TERM="xterm-256color"

I wonder if this is something related to how nload/ioload draw with ncurses that mosh only exposes, or something where mosh is getting lost about how the plot moves.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by running nload or ioload over mosh with TERM=xterm-256color and nonzero plot values, then compare the display with SSH. Start by tracing mosh's terminal drawing and cursor movement behavior; done means the plot and top text area remain aligned during sustained output.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.