Coverage for functions \ flipdare \ util \ ansi_codes.py: 100%

0 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2026-05-08 12:22 +1000

1#!/usr/bin/env python 

2# Copyright (c) 2026 Flipdare Pty Ltd. All rights reserved. 

3# 

4# This file is part of Flipdare's proprietary software and contains 

5# confidential and copyrighted material. Unauthorised copying, 

6# modification, distribution, or use of this file is strictly 

7# prohibited without prior written permission from Flipdare Pty Ltd. 

8# 

9# This software includes third-party components licensed under MIT, 

10# BSD, and Apache 2.0 licences. See THIRD_PARTY_NOTICES for details. 

11# 

12 

13# pragma: no cover 

14 

15 

16class AnsiCodes: 

17 BOLD = "\x1b[1m" 

18 ITALIC = "\x1b[3m" 

19 

20 RESET_COLOR = "\x1b[0m" 

21 

22 RED = "\x1b[31;21m" 

23 LIGHT_PURPLE = "\x1b[95m" 

24 

25 BLUE = "\x1b[34m" 

26 GREEN = "\x1b[32m" 

27 ORANGE = "\x1b[38;5;202m" 

28 YELLOW = "\x1b[33m" 

29 

30 GRAY = "\x1b[38;5;244m" # "\x1b[90m" 

31 

32 LIGHT_YELLOW = "\x1b[93m" 

33 LIGHT_RED = "\x1b[91m" 

34 LIGHT_CYAN = "\x1b[96m" 

35 LIGHT_MAGENTA = "\x1b[95m" 

36 LIGHT_ORANGE = "\x1b[38;5;202m" 

37 LIGHT_BLUE = "\x1b[94;1m" 

38 LIGHT_GREEN = "\x1b[92;1m"