From e17d0e96990e0d8215ff1f1d234c46ca7c8f01ac Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 21 Sep 2018 00:34:51 -0400 Subject: Updated a couple example transcripts now that colors is no longer True/False Also: - Minor whitespace tweaks to new colors.py example --- examples/colors.py | 6 ++---- examples/transcripts/exampleSession.txt | 2 +- examples/transcripts/transcript_regex.txt | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/colors.py b/examples/colors.py index fb2de045..8765aee0 100755 --- a/examples/colors.py +++ b/examples/colors.py @@ -22,8 +22,6 @@ Terminal Always poutput() and pfeedback() never strip ANSI escape sequences, regardless of the output destination - - """ import random @@ -42,7 +40,7 @@ FG_COLORS = { 'cyan': Fore.CYAN, 'white': Fore.WHITE, } -BG_COLORS ={ +BG_COLORS = { 'black': Back.BLACK, 'red': Back.RED, 'green': Back.GREEN, @@ -50,7 +48,7 @@ BG_COLORS ={ 'blue': Back.BLUE, 'magenta': Back.MAGENTA, 'cyan': Back.CYAN, - 'white':Back.WHITE, + 'white': Back.WHITE, } diff --git a/examples/transcripts/exampleSession.txt b/examples/transcripts/exampleSession.txt index 6318776f..38fb0659 100644 --- a/examples/transcripts/exampleSession.txt +++ b/examples/transcripts/exampleSession.txt @@ -3,7 +3,7 @@ # The regex for editor will match whatever program you use. # regexes on prompts just make the trailing space obvious (Cmd) set -colors: /(True|False)/ +colors: /(Terminal|Always|Never)/ continuation_prompt: >/ / debug: False echo: False diff --git a/examples/transcripts/transcript_regex.txt b/examples/transcripts/transcript_regex.txt index 08588ab1..6980fac6 100644 --- a/examples/transcripts/transcript_regex.txt +++ b/examples/transcripts/transcript_regex.txt @@ -3,7 +3,7 @@ # The regex for editor will match whatever program you use. # regexes on prompts just make the trailing space obvious (Cmd) set -colors: /(True|False)/ +colors: /(Terminal|Always|Never)/ continuation_prompt: >/ / debug: False echo: False -- cgit v1.2.1