aboutsummaryrefslogtreecommitdiff
path: root/src/term.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-09-23 10:12:11 -0700
committerJoe Wilm <joe@jwilm.com>2016-09-23 10:12:11 -0700
commitbe09467d48a5b7644411c2a09d948ee89509894e (patch)
treeea49bab6e759d617c45ea0c8ed10a6dda918e185 /src/term.rs
parentcbeec3df5a19487a9dfaf3b285ab6722e69fee54 (diff)
downloadr-alacritty-be09467d48a5b7644411c2a09d948ee89509894e.tar.gz
r-alacritty-be09467d48a5b7644411c2a09d948ee89509894e.tar.bz2
r-alacritty-be09467d48a5b7644411c2a09d948ee89509894e.zip
Fix some compiler warnings
Also enables debug symbols in release profile by default. Until Alacritty ships, there's going to be lots of perf analysis which needs debug symbols. The PriorityMutex low priority method was never used. Now it's just a fair mutex.
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs
index 58f60b87..c209d4ad 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -456,7 +456,6 @@ impl ansi::Handler for Term {
/// A character to be displayed
#[inline]
fn input(&mut self, c: char) {
- debug_print!("{}; attrs = {:?}", c, self.attr);
if self.cursor.col == self.grid.num_cols() {
debug_println!("wrapping");
if (self.cursor.line + 1) >= self.scroll_region.end {