From 488652c23a2d0cdaf3eaef96e6db22bb1162e2ca Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Mon, 30 Sep 2013 14:45:12 +0200 Subject: [PATCH] Support term256 in config.fish. Fixes #1022. --- fish.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fish.cpp b/fish.cpp index 69dd6650e..24499c755 100644 --- a/fish.cpp +++ b/fish.cpp @@ -61,6 +61,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "output.h" #include "history.h" #include "path.h" +#include "input.h" /* PATH_MAX may not exist */ #ifndef PATH_MAX @@ -419,6 +420,8 @@ int main(int argc, char **argv) env_init(&paths); reader_init(); history_init(); + /* For setcolor to support term256 in config.fish (#1022) */ + update_fish_term256(); parser_t &parser = parser_t::principal_parser();