diff options
author | Joe Wilm <joe@jwilm.com> | 2016-07-04 15:14:24 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-07-04 15:14:24 -0700 |
commit | 829c9186dea67925639e9636b01bc10589acf3e6 (patch) | |
tree | 14ac8f897cc46763b20de5a4c89f6a27075d3505 /src | |
parent | 14ec851c6947eb4a65f20b3b41fadd6d4f19cb2d (diff) | |
download | alacritty-829c9186dea67925639e9636b01bc10589acf3e6.tar.gz alacritty-829c9186dea67925639e9636b01bc10589acf3e6.zip |
Fix some compiler warnings
Unused things have been removed.
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer/mod.rs | 1 | ||||
-rw-r--r-- | src/term.rs | 12 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index d5946c76..f0a5fae4 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -25,7 +25,6 @@ use cgmath; use gl::types::*; use gl; use grid::Grid; -use index; use notify::{Watcher as WatcherApi, RecommendedWatcher as Watcher, op}; use term::{self, cell, Cell}; diff --git a/src/term.rs b/src/term.rs index 0471fd28..35683bab 100644 --- a/src/term.rs +++ b/src/term.rs @@ -170,8 +170,6 @@ pub mod mode { pub use self::mode::TermMode; -pub const CURSOR_SHAPE: char = '█'; - pub const DEFAULT_FG: Rgb = Rgb { r: 0xea, g: 0xea, b: 0xea}; pub const DEFAULT_BG: Rgb = Rgb { r: 0, g: 0, b: 0}; pub const TAB_SPACES: usize = 8; @@ -363,11 +361,6 @@ impl Term { } #[inline] - pub fn grid(&self) -> &Grid<Cell> { - &self.grid - } - - #[inline] pub fn mode(&self) -> &TermMode { &self.mode } @@ -382,11 +375,6 @@ impl Term { } } - #[inline] - pub fn cursor(&self) -> &Cursor { - &self.cursor - } - /// Set character in current cursor position fn set_char(&mut self, c: char) { if self.cursor.col == self.grid.num_cols() { |