Remove redundant begin
This commit is contained in:
parent
c7b36df879
commit
1f0f08c30d
@ -115,7 +115,6 @@ class Sandbox
|
||||
end
|
||||
|
||||
write_to_pty = proc do
|
||||
begin
|
||||
# Update the window size whenever the parent terminal's window size changes.
|
||||
old_winch = trap(:WINCH, &winch)
|
||||
winch.call(nil)
|
||||
@ -129,7 +128,6 @@ class Sandbox
|
||||
stdin_thread&.kill
|
||||
trap(:WINCH, old_winch)
|
||||
end
|
||||
end
|
||||
|
||||
if $stdin.tty?
|
||||
$stdin.raw(&write_to_pty)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user