Fix some compiler warnings

Unused things have been removed.
This commit is contained in:
Joe Wilm 2016-07-04 15:14:24 -07:00
parent 14ec851c69
commit 829c9186de
2 changed files with 0 additions and 13 deletions

View File

@ -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};

View File

@ -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;
@ -362,11 +360,6 @@ impl Term {
&self.size_info
}
#[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() {