summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/colors.py6
-rw-r--r--examples/transcripts/exampleSession.txt2
-rw-r--r--examples/transcripts/transcript_regex.txt2
3 files changed, 4 insertions, 6 deletions
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