term: update string api usage
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ static fx_status print_paragraph_tty(
|
|||||||
indent(format, tty, left_margin);
|
indent(format, tty, left_margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
fx_tty_puts(tty, 0, fx_string_ptr(line));
|
fx_tty_puts(tty, 0, fx_string_get_cstr(line));
|
||||||
fx_tty_putc(tty, 0, '\n');
|
fx_tty_putc(tty, 0, '\n');
|
||||||
need_indent = true;
|
need_indent = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user