mobile-shell / mobile-shell/mosh

ANSI escape sequences (tree)

Open
#1,155 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I understand mosh does something with respect to ANSI escape sequences, but I don't quite understand it. Using ssh, running the 'tree' command looks like this:

$ tree
.
├── [   0]  one
├── [   0]  three
└── [   0]  two

0 directories, 3 files

But, through mosh, it looks like this:

$ tree
.
tqq [   0]  one
tqq [   0]  three
mqq [   0]  two

0 directories, 3 files

Is there something I can do to make this display properly?

-Mike

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 differing tree output over SSH and Mosh, using the ANSI escape sequence behavior described in the issue as the starting point. Trace how Mosh handles the tree characters and terminal output; done means the tree displays the same box-drawing characters through Mosh as it does through SSH.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.