uilive
uilive copied to clipboard
fixbug terminal_size.go
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.
What is the purpose of your change?
You changed an annotation, rename and add variables. (And the added variables are not used)