Hi All,

2017-10-15(Sun) 18:01:03 UTC+9 Brian Pina:
> Hey Bram,
> 
> > Patch 8.0.1194
> > Problem:    Actual fg and bg colors of terminal are unknown.
> > Solution:   Add t_RF.  Store response to t_RB and t_RF, use for terminal.
> > Files:      src/term.c, src/term.h, src/proto/term.pro, src/terminal.c,
> >             src/vim.h, src/eval.c, runtime/doc/eval.txt
> 
> 
> I think this is having issues when running vim inside of tmux. I am receiving 
> a segfault when running vim through a tmux session. vim -u NONE works okay, 
> but the segfault occurs without any local plugins. 
> 
> (gdb) bt
> #0  0x000000000059865f in may_req_bg_color ()
> #1  0x00000000005d8559 in vim_main2 ()
> #2  0x000000000042b429 in main ()
> 
> compiled vim at 65e4c4f68
> compiled tmux at fb02df66c
> 
> The problem does not appear when compiling v8.0.1193 and local plugins are 
> able to load fine in tmux sessions.

Attached patch fix this problem.

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/option.c b/src/option.c
index 2743f16..baa8d85 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3141,6 +3141,7 @@ static struct vimoption options[] =
     p_term("t_ms", T_MS)
     p_term("t_nd", T_ND)
     p_term("t_op", T_OP)
+    p_term("t_RF", T_RFG)
     p_term("t_RB", T_RBG)
     p_term("t_RC", T_CRC)
     p_term("t_RI", T_CRI)

Raspunde prin e-mail lui