Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __enable_bracketed_paste
Method
__enable_bracketed_paste
Lib/_pyrepl/unix_console.py:576–577 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
574
return
posix._inputhook
575
576
def
__enable_bracketed_paste(self) -> None:
577
os.write(self.output_fd, b
"\x1b[?2004h"
)
578
579
def
__disable_bracketed_paste(self) -> None:
580
os.write(self.output_fd, b
"\x1b[?2004l"
)
Callers
1
prepare
Method · 0.95
Calls
1
write
Method · 0.45
Tested by
no test coverage detected