[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected behaviour with TERM=xterm-direct
From: |
Timothy Allen |
Subject: |
Re: Unexpected behaviour with TERM=xterm-direct |
Date: |
Fri, 08 Mar 2019 12:36:52 +1100 |
User-agent: |
Evolution 3.30.5-1 |
On Fri, 2019-03-08 at 03:37 +0300, Hudd wrote:
> Should I detect TERM=xterm-direct and use different code to setup
> color pairs in such case?
Better yet, check whether the terminfo database defines the "RGB"
property for the current terminal, rather than hard-coding "xterm-
direct". Then your code should also work for vte-direct, konsole-
direct, iterm2-direct, and so forth.