From 23b5ab038009d30eb8362eb930f769709df5b19b Mon Sep 17 00:00:00 2001 From: Lonny Wong Date: Thu, 11 Aug 2022 04:53:51 +0800 Subject: [PATCH] fix context showing unexpectedly on first command (#1042) --- pwndbg/prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/prompt.py b/pwndbg/prompt.py index ac5f7b20d..d65ba0253 100644 --- a/pwndbg/prompt.py +++ b/pwndbg/prompt.py @@ -33,7 +33,7 @@ def initial_hook(*a): print((colored_tip)) pwndbg.decorators.first_prompt = True - prompt_hook(a) + prompt_hook(*a) gdb.prompt_hook = prompt_hook