term.ui: approximate colors into ansi if rgb isn't supported (#6951)

This commit is contained in:
spaceface777 2020-11-26 00:28:57 +01:00 committed by GitHub
parent 258f8f6af9
commit e03ae19372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 215 additions and 34 deletions

View file

@ -1,3 +1,6 @@
// Copyright (c) 2020 Raúl Hernández. All rights reserved.
// Use of this source code is governed by an MIT license
// that can be found in the LICENSE file.
module main
import term.ui as tui