summaryrefslogtreecommitdiff
path: root/examples/async_printing.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-01-22 14:53:33 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-01-22 14:53:33 -0500
commit45580056485328338899dd65607c6c57d3797f35 (patch)
tree4cb6a10485b440e0b23eb638764fc2ff14faa974 /examples/async_printing.py
parent49fac04513727a67b0360a9e7560087c64dd557d (diff)
parenta3b1b6ddf81cdc0b253f15feeb167ff348afd14f (diff)
downloadcmd2-git-45580056485328338899dd65607c6c57d3797f35.tar.gz
Merge branch 'master' into 2.0
Diffstat (limited to 'examples/async_printing.py')
-rwxr-xr-xexamples/async_printing.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/async_printing.py b/examples/async_printing.py
index 29af2d64..e0442f1f 100755
--- a/examples/async_printing.py
+++ b/examples/async_printing.py
@@ -7,10 +7,15 @@ and changes the window title
import random
import threading
import time
-from typing import List
+from typing import (
+ List,
+)
import cmd2
-from cmd2 import fg, style
+from cmd2 import (
+ fg,
+ style,
+)
ALERTS = ["Watch as this application prints alerts and updates the prompt",
"This will only happen when the prompt is present",