Skip to content

Instantly share code, notes, and snippets.

@LevitatingBusinessMan
Created February 22, 2022 18:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LevitatingBusinessMan/203ccdbfd36818cccf00d3455e2a214b to your computer and use it in GitHub Desktop.
Save LevitatingBusinessMan/203ccdbfd36818cccf00d3455e2a214b to your computer and use it in GitHub Desktop.
Fixes the prompt from gef when using TUI.
--- /tmp/gef.py.bckp 2022-02-22 19:37:04.589652454 +0100
+++ /bedrock/strata/arch/usr/share/gef/gef.py 2022-02-22 19:42:11.126081267 +0100
@@ -151,7 +151,8 @@
CROSS = "\u2718 "
TICK = "\u2713 "
BP_GLYPH = "\u25cf"
-GEF_PROMPT = "gef\u27a4 "
+#GEF_PROMPT = "gef\u27a4 "
+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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment