diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-06-01 20:03:50 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-06-03 17:16:41 -0700 |
commit | 53e865b65434fa9ec12afc11a076aec244cd3c43 (patch) | |
tree | 3cbfe0ed403a5ca30b1570fe28411c6d91ae6910 /share | |
parent | 57f289850c24a44a2590cb30762853f2a61f4efd (diff) |
put curses/terminfo vars into the environment
We need to actually export the curses/terminfo env vars in order for
`setupterm()` to be able to use them. While fixing this I reworked the
fallback logic implemented by @zanchey in response to issue #1060 in
order to simplify the logic and clarify the error messages.
This does not allow someone to change the curses/terminfo env vars after
the first prompt is displayed (you can but it won't affect the current
fish process). It only makes it possible to set `TERM`, `TERMINFO`, and
`TERMINFO_DIRS` in *config.fish* or similar config file and have them be
honored by fish.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions