Reputation: 357
cqlsh, the CQL command prompt for Apache Cassandra, is programmed to show colors in the query results. Is there an easy way to disable colors in cqlsh ?
Upvotes: 9
Views: 2208
Reputation: 9161
Just have $TERM
set to something that doesn't support color. For example,
~$ TERM=dumb cqlsh
Upvotes: 5
Reputation: 6932
It appears that although there is a --color
option, it does not provide a way to disable colors, so I've opened CASSANDRA-4634 to fix that.
As a side note, if the --file
option is used, colors will be disabled, in case that's what you're worried about.
Upvotes: 3