Support custom TERM and COLORTERM env vars
Bug #794561 reported by
John Feuerstein
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The attached patch adds the configurable profile options "term" and "colorterm" to set the respective environment variables "TERM" and "COLORTERM".
This is different from setting a custom emulation, as it allows to stay on emulation "xterm" while setting the terminal variant "xterm-256color".
You can install package "ncurses-term" on Debian derivatives to get the required terminfo/termcap files. It results in vim automatically detecting 256 color support without forcing t_Co in vimrc.
Example configuration (~/.config/
[profiles]
[[default]]
term = xterm-256color
Hope this helps,
John
Related branches
Changed in terminator: | |
milestone: | none → 1.0 |
Changed in terminator: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the patch, apologies for the delay. I've applied it to trunk and it'll be in the next release.