Skip to content

Commit 0f07d6d

Browse files
authored
Forward SIGWINCH to previous handler (#29)
1 parent eea0857 commit 0f07d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyrepl/unix_console.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ def restore(self):
401401
def __sigwinch(self, signum, frame):
402402
self.height, self.width = self.getheightwidth()
403403
self.event_queue.insert(Event('resize', None))
404+
self.old_sigwinch(signum, frame)
404405

405406
def push_char(self, char):
406407
trace('push char {char!r}', char=char)

0 commit comments

Comments
 (0)