mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05: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
|
|
@ -17,8 +17,9 @@
|
|||
## Unreleased
|
||||
### Added
|
||||
|
||||
* Implement reverse auto-wrap. This mode can be enabled/disabled with
|
||||
`CSI ? 45 h` and `CSI `45 l`. It is disabled by default
|
||||
* Implement reverse auto-wrap (_auto\_left\_margin_, _bw_, in
|
||||
terminfo). This mode can be enabled/disabled with `CSI ? 45 h` and
|
||||
`CSI `45 l`. It is **enabled** by default
|
||||
(https://codeberg.org/dnkl/foot/issues/150).
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ foot-direct|foot with direct color indexing,
|
|||
foot+base|foot base fragment,
|
||||
am,
|
||||
bce,
|
||||
bw,
|
||||
ccc,
|
||||
km,
|
||||
mir,
|
||||
|
|
|
|||
|
|
@ -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