summaryrefslogtreecommitdiff
path: root/cmd2/clipboard.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-10-11 15:20:46 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-10-13 17:17:30 -0400
commit55406f89849719c7493b7e7193cb1a0af73ab4fe (patch)
tree4eca765dc7b5883e2489a93dd41759b948f7739d /cmd2/clipboard.py
parente35ab9c169eccc7af3e4ec604e2ddd2e668bdc2c (diff)
downloadcmd2-git-extended_colors.tar.gz
Added support for 8-bit/256-colors with the cmd2.EightBitFg and cmd2.EightBitBg classes.extended_colors
Added support for 24-bit/RGB colors with the cmd2.RgbFg and cmd2.RgbBg classes. Removed dependency on colorama. Deprecated cmd2.fg. Use cmd2.StdFg instead. Deprecated cmd2.bg. Use cmd2.StdBg instead. Changed type of ansi.allow_style from a string to an ansi.AllowStyle Enum class. Fixed bug where using choices on a Settable didn't verify that a valid choice had been entered.
Diffstat (limited to 'cmd2/clipboard.py')
-rw-r--r--cmd2/clipboard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/clipboard.py b/cmd2/clipboard.py
index f31f5d5a..ec8e615d 100644
--- a/cmd2/clipboard.py
+++ b/cmd2/clipboard.py
@@ -6,7 +6,7 @@ from typing import (
cast,
)
-import pyperclip # type: ignore [import]
+import pyperclip # type: ignore[import]
# noinspection PyProtectedMember
from pyperclip import (