Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bpython/bpython
/ set_win_size
Function
set_win_size
bpython/test/test_crashers.py:33–35 ·
view source on GitHub ↗
(fd, rows, columns)
Source
from the content-addressed store, hash-verified
31
32
33
def
set_win_size(fd, rows, columns):
34
s = struct.pack(
"HHHH"
, rows, columns, 0, 0)
35
fcntl.ioctl(fd, termios.TIOCSWINSZ, s)
36
37
38
class
CrashersTest:
Callers
1
run_bpython
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected