aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/output.h
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-06-01 20:03:50 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-06-03 17:16:41 -0700
commit53e865b65434fa9ec12afc11a076aec244cd3c43 (patch)
tree3cbfe0ed403a5ca30b1570fe28411c6d91ae6910 /src/output.h
parent57f289850c24a44a2590cb30762853f2a61f4efd (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 'src/output.h')
-rw-r--r--src/output.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/output.h b/src/output.h
index 5882676d..2ecebfbf 100644
--- a/src/output.h
+++ b/src/output.h
@@ -76,12 +76,6 @@ void output_set_writer(int (*writer)(char));
/// Return the current output writer.
int (*output_get_writer())(char);
-/// Set the terminal name.
-void output_set_term(const wcstring &term);
-
-/// Return the terminal name.
-const wchar_t *output_get_term();
-
/// Sets what colors are supported.
enum { color_support_term256 = 1 << 0, color_support_term24bit = 1 << 1 };
typedef unsigned int color_support_t;