Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Conversation

@forslund
Copy link
Collaborator

Description

On serial connections, with weird terminal emulators or when run interactively
the terminal may not support colours this would cause the dev_setup to
be aborted. This adds a simple check for terminal colors.

"-1" for no color support was empirically established.

How to test

Make sure dev_setup still finishes as expected and colors are still showing for normal terminals.

Contributor license agreement signed?

CLA [ Yes ]

On serial connections, with weird terminal emulators or when run interactively
the terminal may not support colours this would cause the dev_setup to
be aborted. This adds a simple check for terminal colors.

"-1" for no color support was empirically established.
@forslund forslund requested a review from davidwagnerkc July 18, 2019 12:05
@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Jul 18, 2019
@forslund forslund merged commit 95927fb into MycroftAI:dev Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants