mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-29 09:12:37 +00:00
Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: Ifdd6a566fda74c5b7d417f9d61c51d4d3da07bfd
21 lines
526 B
Python
21 lines
526 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# gnpy.core.ansi_escapes: A random subset of ANSI terminal escape codes for colored messages
|
|
# Copyright (C) 2025 Telecom Infra Project and GNPy contributors
|
|
# see AUTHORS.rst for a list of contributors
|
|
|
|
"""
|
|
gnpy.core.ansi_escapes
|
|
======================
|
|
|
|
A random subset of ANSI terminal escape codes for colored messages
|
|
"""
|
|
|
|
red = '\x1b[1;31;40m'
|
|
blue = '\x1b[1;34;40m'
|
|
cyan = '\x1b[1;36;40m'
|
|
yellow = '\x1b[1;33;40m'
|
|
reset = '\x1b[0m'
|