-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Milestone
Description
Hello, recently I got the error with Python 3.14,
Traceback (most recent call last):
File "/opt/homebrew/Cellar/cfv/3.1.0/bin/cfv", line 3, in <module>
from cfv.common import main
File "/opt/homebrew/Cellar/cfv/3.1.0/libexec/lib/python3.14/site-packages/cfv/common.py", line 49, in <module>
from cfv import ui
File "/opt/homebrew/Cellar/cfv/3.1.0/libexec/lib/python3.14/site-packages/cfv/ui.py", line 10, in <module>
from cfv import term
File "/opt/homebrew/Cellar/cfv/3.1.0/libexec/lib/python3.14/site-packages/cfv/term.py", line 28, in <module>
scrwidth = getscrwidth()
File "/opt/homebrew/Cellar/cfv/3.1.0/libexec/lib/python3.14/site-packages/cfv/term.py", line 16, in getscrwidth
h, w = struct.unpack('h h', ioctl(tty.fileno(), TIOCGWINSZ, '\0' * struct.calcsize('h h')))
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: buffer overflow
and so wonder this can be fixed to work with newer Python.
Can you take a look?
Thanks,
Metadata
Metadata
Assignees
Labels
No labels