summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2019-09-13 23:51:14 +0000
committerGitHub <noreply@github.com>2019-09-13 23:51:14 +0000
commitfb37a9cb552afeaa5632bcc867cbb18a40f9ff98 (patch)
tree5b8a4c4c743c6d613ee7a5fc747a0518ef1fa23d /alacritty_terminal/src/tty
parent1067fa609b6a5a0017814cb96d8b21b39b2f83f2 (diff)
downloadalacritty-fb37a9cb552afeaa5632bcc867cbb18a40f9ff98.tar.gz
alacritty-fb37a9cb552afeaa5632bcc867cbb18a40f9ff98.zip
Fix empty block selection detection
Fixes #2789.
Diffstat (limited to 'alacritty_terminal/src/tty')
-rw-r--r--alacritty_terminal/src/tty/unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs
index e666eeba..77b5db43 100644
--- a/alacritty_terminal/src/tty/unix.rs
+++ b/alacritty_terminal/src/tty/unix.rs
@@ -28,6 +28,7 @@ use mio::unix::EventedFd;
use std::ffi::CStr;
use std::fs::File;
use std::io;
+use std::mem::MaybeUninit;
use std::os::unix::{
io::{AsRawFd, FromRawFd, RawFd},
process::CommandExt,
@@ -35,7 +36,6 @@ use std::os::unix::{
use std::process::{Child, Command, Stdio};
use std::ptr;
use std::sync::atomic::{AtomicUsize, Ordering};
-use std::mem::MaybeUninit;
/// Process ID of child process
///