Merge pull request #2883 from markparonyan/mypy-utils-embed-shell

fix(typing): resolve mypy errors in utils.asyncio.embed_shell
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2026-09-28 10:47:23 +02:00
commit 0718e038f7
2 files changed
+2 -4

No files matched your search

+2 -3
View File
@@ -236,12 +236,11 @@ class ShellConnection(TelnetConnection):
async def disconnected(self):
pass
@asyncio.coroutine
def window_size_changed(self, columns, rows):
async def window_size_changed(self, columns, rows):
self._size = Size(rows=rows, columns=columns)
self._cb.terminal_size_changed()
if self._window_size_changed_callback:
yield from self._window_size_changed_callback(columns, rows)
await self._window_size_changed_callback(columns, rows)
async def feed(self, data):
data = data.decode()