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

fixbug terminal_size.go #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixbug terminal_size.go #40

wants to merge 1 commit into from

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