diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-25 19:33:51 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-25 19:33:51 -0700 |
commit | 6a5ac20defa558309a674e069f33febde1824c00 (patch) | |
tree | 29c9144eb72b11cda867e9a221102622c70559cf /src/tty.rs | |
parent | 4a679d711fbb1969af8b957ee40877067527b8b8 (diff) | |
download | alacritty-6a5ac20defa558309a674e069f33febde1824c00.tar.gz alacritty-6a5ac20defa558309a674e069f33febde1824c00.zip |
Resolve compiler warnings
Diffstat (limited to 'src/tty.rs')
-rw-r--r-- | src/tty.rs | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -299,15 +299,6 @@ impl Tty { } } - /// Get writer for the TTY - /// - /// XXX File is a bad abstraction here; it closes the fd on drop - pub fn writer(&self) -> File { - unsafe { - File::from_raw_fd(self.fd) - } - } - pub fn resize(&self, rows: usize, cols: usize, px_x: usize, px_y: usize) { let win = winsize { ws_row: rows as libc::c_ushort, |