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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index a99098bd..ac5a9a5f 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -120,14 +120,14 @@ impl Search for Term {
let mut url_parser = UrlParser::new();
while let Some(cell) = iterb.prev() {
if (iterb.cur().col == last_col && !cell.flags.contains(cell::Flags::WRAPLINE))
- || url_parser.advance_left(cell.c)
+ || url_parser.advance_left(cell)
{
break;
}
}
while let Some(cell) = iterf.next() {
- if url_parser.advance_right(cell.c)
+ if url_parser.advance_right(cell)
|| (iterf.cur().col == last_col && !cell.flags.contains(cell::Flags::WRAPLINE))
{
break;