mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-08 08:20:59 -04:00
term: new function: term_autowrap()
Adds a linebreak (+ scroll if necessary) if we're in a deferred wrap and auto-margins are enabled. Return true when we wrapped, false otherwise.
This commit is contained in:
parent
f4be84871f
commit
686405b703
2 changed files with 16 additions and 0 deletions
|
|
@ -360,6 +360,7 @@ void term_scroll_reverse_partial(
|
|||
|
||||
void term_linefeed(struct terminal *term);
|
||||
void term_reverse_index(struct terminal *term);
|
||||
bool term_autowrap(struct terminal *term);
|
||||
|
||||
void term_restore_cursor(struct terminal *term);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue