mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-14 05:33:59 -04:00
term: enable reverse wrap-around by default
Since we’re now doing reverse auto-wrapping by default, we add ‘bw’ (‘auto_left_margin’)to terminfo.
This commit is contained in:
parent
71c54fb87c
commit
207b24538d
3 changed files with 6 additions and 2 deletions
|
|
@ -904,6 +904,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
|
|||
: FCFT_SUBPIXEL_NONE),
|
||||
.cursor_keys_mode = CURSOR_KEYS_NORMAL,
|
||||
.keypad_keys_mode = KEYPAD_NUMERICAL,
|
||||
.reverse_wrap = true,
|
||||
.auto_margin = true,
|
||||
.window_title_stack = tll_init(),
|
||||
.scale = 1,
|
||||
|
|
@ -1394,6 +1395,7 @@ term_reset(struct terminal *term, bool hard)
|
|||
term->keypad_keys_mode = KEYPAD_NUMERICAL;
|
||||
term->reverse = false;
|
||||
term->hide_cursor = false;
|
||||
term->reverse_wrap = true;
|
||||
term->auto_margin = true;
|
||||
term->insert_mode = false;
|
||||
term->bracketed_paste = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue