mirror of
https://github.com/ghndrx/shellmate.git
synced 2026-02-10 06:45:02 +00:00
Fix: remove invalid set_terminal_size_handler call
This commit is contained in:
@@ -56,9 +56,6 @@ class TerminalSession:
|
|||||||
self._resize_event = asyncio.Event()
|
self._resize_event = asyncio.Event()
|
||||||
self._update_size()
|
self._update_size()
|
||||||
|
|
||||||
# Connect resize handler to process
|
|
||||||
process.channel.set_terminal_size_handler(self.handle_resize)
|
|
||||||
|
|
||||||
def _update_size(self):
|
def _update_size(self):
|
||||||
"""Update terminal size from process."""
|
"""Update terminal size from process."""
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user