Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prompt ascii changed #1013

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def update_gef(argv: List[str]) -> int:
CROSS = "✘ "
TICK = "✓ "
BP_GLYPH = "●"
GEF_PROMPT = "gef "
GEF_PROMPT = "gef> "
GEF_PROMPT_ON = f"\001\033[1;32m\002{GEF_PROMPT}\001\033[0m\002"
GEF_PROMPT_OFF = f"\001\033[1;31m\002{GEF_PROMPT}\001\033[0m\002"

Expand Down Expand Up @@ -10264,7 +10264,6 @@ def __gef_prompt__(current_prompt: Callable[[Callable], str]) -> str:
prompt += GEF_PROMPT_ON if is_alive() else GEF_PROMPT_OFF
return prompt


class GefManager(metaclass=abc.ABCMeta):
def reset_caches(self) -> None:
"""Reset the LRU-cached attributes"""
Expand Down