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

请教一下myssh怎么实现自动补全的呢? #1

Closed
shaohk opened this issue Jul 18, 2020 · 7 comments
Closed

请教一下myssh怎么实现自动补全的呢? #1

shaohk opened this issue Jul 18, 2020 · 7 comments

Comments

@shaohk
Copy link

shaohk commented Jul 18, 2020

如题,感谢!

@shaohk
Copy link
Author

shaohk commented Jul 20, 2020

我是把myssh clone到本地运行的,本地是mac,ssh的目标机器是kali,分别运行了Enter和EnterTerminal方法,进入shell后,执行命令按tab键,没有补全的动作呢

@xxjwxc
Copy link
Owner

xxjwxc commented Jul 20, 2020

你链接到目标机能行吗?

@xxjwxc
Copy link
Owner

xxjwxc commented Jul 20, 2020

https://github.com/xxjwxc/jump

你用这个工具试下:jump in

@shaohk
Copy link
Author

shaohk commented Jul 20, 2020

666,知道哪里的问题了,是我把下面这两句给注释掉了的事,感谢哈
fd := int(os.Stdin.Fd())
terminal.MakeRaw(fd)

@xxjwxc
Copy link
Owner

xxjwxc commented Jul 20, 2020

ok,感谢点星鼓励。如果完成了,请关掉这个issues

@xxjwxc
Copy link
Owner

xxjwxc commented Jul 27, 2020

已解决

@xxjwxc xxjwxc closed this as completed Jul 27, 2020
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

2 participants