Skip to content

Commit

Permalink
fix: update the copystr
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbrayo committed Nov 1, 2024
1 parent c3631b6 commit 1a55e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gptme/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def ask_execute(question="Execute code?", default=True) -> bool: # pragma: no c
termios.tcflush(sys.stdin, termios.TCIFLUSH) # flush stdin

choicestr = f"[{'Y' if default else 'y'}/{'n' if default else 'N'}]"
copystr = "ctrl-c to copy"
copystr = "[Ctrl+c] to copy"
console.print(
f"[bold bright_yellow on red] {question} {choicestr} {copystr if copiable else ''} [/] ",
end="",
Expand Down

0 comments on commit 1a55e10

Please sign in to comment.