Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION - SSH Channel Print Content disorder #142

Closed
530017894 opened this issue Jun 23, 2021 · 0 comments
Closed

QUESTION - SSH Channel Print Content disorder #142

530017894 opened this issue Jun 23, 2021 · 0 comments

Comments

@530017894
Copy link

when i new ishell with ssh.Channel and then use ishell.Println,the content disorder,e.g:

help

  Commands:
                       clear      clear the screen
                                                                  exit       exit the program
                                                                                                            help       display help

channel ssh.Channel

termCfg := &readline.Config{
Prompt: prompt,
Stdin: channel,
Stdout: channel,
StdinWriter: channel,
Stderr: channel,
}
shell := ishell.NewWithConfig(termCfg)

how can i fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant