This commit is contained in:
Stephane Fontaine authored and Wez Furlong committed 2019-02-23 13:04:39 -08:00
1 parent e0c83597f1
commit 41314a0deb
3 files changed
+5 -8

No files matched your search

+3 -5
View File
@@ -1,11 +1,11 @@
use term::{KeyCode, KeyModifiers};
use libc;
use term::{KeyCode, KeyModifiers};
mod keyboard;
use keyboard::Keyboard;
use egli;
use gl;
use glium;
use glium::backend::Backend;
use keyboard::Keyboard;
use mio::unix::EventedFd;
use mio::{Evented, Poll, PollOpt, Ready, Token};
use std::cell::RefCell;
@@ -20,9 +20,7 @@ use std::result;
use x11;
use xcb;
use xcb_util;
use xcb_util::ffi::keysyms::{
xcb_key_symbols_alloc, xcb_key_symbols_free, xcb_key_symbols_t,
};
use xcb_util::ffi::keysyms::{xcb_key_symbols_alloc, xcb_key_symbols_free, xcb_key_symbols_t};
use failure::{self, Error};
pub type Result<T> = result::Result<T, Error>;
+1 -2
View File
@@ -1,5 +1,4 @@
#![allow(non_upper_case_globals, dead_code)]
use xcb::ffi::xproto::xcb_keysym_t;
#![allow(non_upper_case_globals)]
use xcb::KeyPressEvent;
use term::KeyCode;
+1 -1
View File
@@ -529,7 +529,7 @@ impl TerminalWindow {
return Err(SessionTerminated::WindowClosed.into());
}
}
_ => { }
_ => {}
}
Ok(())
}