We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a2e7a commit 202f6beCopy full SHA for 202f6be
src/core/ev_handler.rs
@@ -264,6 +264,7 @@ pub fn handle_event(
264
if append_style == AppendStyle::FullRedraw {
265
return display::draw_full(out, p);
266
}
267
+
268
display::draw_append_text(
269
out,
270
rows,
src/core/utils/display/mod.rs
@@ -206,7 +206,7 @@ pub fn draw_append_text(
206
if num_appendable >= 1 {
207
crossterm::execute!(out, crossterm::terminal::Clear(ClearType::CurrentLine))?;
208
209
- for line in fmt_text.iter() {
+ for line in &fmt_text[0..num_appendable] {
210
write!(out, "{}\n\r", line)?;
211
212
out.flush()?;
0 commit comments