aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
diff options
context:
space:
mode:
authorConrad Irwin <conrad.irwin@gmail.com>2024-02-01 23:19:23 -0700
committerGitHub <noreply@github.com>2024-02-02 06:19:23 +0000
commit2d2b894c3b869fadc78fce9d72cb5c8d2b764cac (patch)
tree319cbfb0890e835cd6b0ad52820359f45aea24ef /alacritty/src
parentc3b3746075051e5f9853f7ed0b8340adce2e51e3 (diff)
downloadr-alacritty-2d2b894c3b869fadc78fce9d72cb5c8d2b764cac.tar.gz
r-alacritty-2d2b894c3b869fadc78fce9d72cb5c8d2b764cac.tar.bz2
r-alacritty-2d2b894c3b869fadc78fce9d72cb5c8d2b764cac.zip
Fix unnecessary explicit panic in PTY
Closes #7680.
Diffstat (limited to 'alacritty/src')
-rw-r--r--alacritty/src/window_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/window_context.rs b/alacritty/src/window_context.rs
index 3f3e6807..891551bb 100644
--- a/alacritty/src/window_context.rs
+++ b/alacritty/src/window_context.rs
@@ -223,7 +223,7 @@ impl WindowContext {
pty,
pty_config.hold,
config.debug.ref_test,
- );
+ )?;
// The event loop channel allows write requests from the event processor
// to be sent to the pty loop and ultimately written to the pty.