Fix lldb fzf startup prompt (#3314)

pull/3317/head^2
Artur Cygan 2 months ago committed by GitHub
parent 075580d59a
commit b7e53cee36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -393,7 +393,7 @@ def run(
last_command = action._command
if not action._prompt_silent:
print(f"{PROMPT}{action._command}")
print(f"{PROMPT.value if HAS_FZF else PROMPT}{action._command}")
try:
if action._capture:

@ -39,7 +39,7 @@ from pwndbg.dbg.lldb import LLDB
P = ParamSpec("P")
T = TypeVar("T")
PROMPT = ANSI("\x1b[34mpwndbg-lldb> ")
PROMPT = ANSI("\x1b[34mpwndbg-lldb>\x1b[0m ")
HISTORY_FILE = os.path.expanduser("~/.pwndbg_history")
FZF_RUN_CMD = (

Loading…
Cancel
Save