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

resize console width #4

Closed
wrfly opened this issue Mar 27, 2018 · 4 comments
Closed

resize console width #4

wrfly opened this issue Mar 27, 2018 · 4 comments
Labels
bug Something isn't working
Projects

Comments

@wrfly
Copy link
Owner

wrfly commented Mar 27, 2018

不要出现粘贴的时候,行被覆盖的情况。

https://unix.stackexchange.com/questions/16578/resizable-serial-console-window

@wrfly wrfly added the bug Something isn't working label Mar 28, 2018
@wrfly wrfly added this to To do in v0.2 May 31, 2018
@wrfly wrfly moved this from To do to In progress in v0.2 May 31, 2018
@wrfly wrfly added this to the 0.2 milestone Jun 4, 2018
@wrfly
Copy link
Owner Author

wrfly commented Jun 4, 2018

image

@wrfly
Copy link
Owner Author

wrfly commented Jun 4, 2018

不能复现了又, resize窗口后, 容器能够随之resize, 测试了alpine和busybox, sh执行或者bash执行, 都不能复现

@wrfly wrfly added the invalid This doesn't seem right label Jun 4, 2018
@wrfly wrfly moved this from In progress to Pending in v0.2 Jun 4, 2018
@wrfly wrfly removed this from the 0.2 milestone Jun 8, 2018
@wrfly wrfly removed the invalid This doesn't seem right label Jul 10, 2018
@wrfly
Copy link
Owner Author

wrfly commented Jul 10, 2018

有时候,刚打开一个console,虽然网页上显示的是当前窗口大小,但是内部却没有遵循这个大小来展示;
当改变窗口大小的时候,内部的console才会改变大小;

说明初始化出现了问题,需要debug一下,在窗口初始化的地方

@wrfly
Copy link
Owner Author

wrfly commented Jul 10, 2018

opts := []webtty.Option{
webtty.WithWindowTitle(titleBuf.Bytes()),
webtty.WithPermitWrite(),
}

可能是在这个地方

@wrfly wrfly closed this as completed in b2923ed Jul 18, 2018
v0.2 automation moved this from Pending to Done Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
v0.2
  
Done
Development

No branches or pull requests

1 participant