Skip to content

Commit

Permalink
Better prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
goFrendiAsgard committed Dec 9, 2024
1 parent a686e51 commit d0ec7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zrb/input/base_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _prompt_cli_str(self, shared_ctx: AnySharedContext) -> str:
default_value = self._get_default_str(shared_ctx)
if default_value != "":
prompt_message = f"{prompt_message} [{default_value}]"
print(f"{prompt_message}: ")
print(f"{prompt_message}: ", end="")
value = input()
if value.strip() == "":
value = default_value
Expand Down

0 comments on commit d0ec7a5

Please sign in to comment.