Closed 530017894 closed 3 years ago
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?
when i new ishell with ssh.Channel and then use ishell.Println,the content disorder,e.g:
termCfg := &readline.Config{ Prompt: prompt, Stdin: channel, Stdout: channel, StdinWriter: channel, Stderr: channel, } shell := ishell.NewWithConfig(termCfg)
how can i fix it?