Skip to content

Commit 8563dc8

Browse files
committed
Also set color_depth in the secret prompt
1 parent bbf8787 commit 8563dc8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd2/cmd2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3628,6 +3628,7 @@ def read_secret(
36283628
:raises Exception: any other exceptions raised by prompt()
36293629
"""
36303630
temp_session: PromptSession[str] = PromptSession(
3631+
color_depth=self.main_session.color_depth,
36313632
input=self.main_session.input,
36323633
output=self.main_session.output,
36333634
style=self.main_session.style,

0 commit comments

Comments
 (0)