Skip to content

fixbug terminal_size.go#40

Open
xq840622 wants to merge 1 commit intogosuri:masterfrom
xq840622:lq
Open

fixbug terminal_size.go#40
xq840622 wants to merge 1 commit intogosuri:masterfrom
xq840622:lq

Conversation

@xq840622
Copy link

ttysize structure has long been obsolete, the ioctl for ttysize was unsupported by kernel 2.6.16, change windowSize to winsize.

windowSize struct is 32bit but winsize is 64bit, which will cause cross border error.

…nsupported by kernel 2.6.16, change windowSize to winsize
@Adaendra
Copy link

What is the purpose of your change?

You changed an annotation, rename and add variables. (And the added variables are not used)

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

Successfully merging this pull request may close these issues.

2 participants