aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 09ed5d41..eab73e74 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -630,7 +630,7 @@ impl ansi::Handler for Term {
}
unsafe {
- if ::std::intrinsics::unlikely(self.cursor.line == self.grid.num_lines()) {
+ if ::util::unlikely(self.cursor.line == self.grid.num_lines()) {
panic!("cursor fell off grid");
}
}