Various improvements

This commit is contained in:
2025-03-07 03:36:25 -05:00
parent d35ff7bc6f
commit 11576e9e08
15 changed files with 305 additions and 175 deletions

View File

@@ -78,7 +78,7 @@ impl<'a> Hinter for SynHelper<'a> {
}
let history = ctx.history();
let result = self.hist_search(line, history)?;
let window = result[line.len()..].to_string();
let window = result[line.len()..].trim_end().to_string();
Some(SynHint::new(window))
}
}