You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a setting to clear the screen when running the context command, but not vice versa. I would love to be able to press CTRL+L to clear the screen and automatically run the context command
Describe the solution you'd like
I think the most straightforward would be a setting (similar to context.clear_screen to clear the screen when running context).
Or maybe even add an easy way for users to configure their own keybinds? I saw you can do something using .inputrc files, but it would be awesome to have an easy to use method for configuring this specifically for gdb/gef! :)
Describe alternatives you've considered
I'll try messing around with .inputrc for a bit, to create my own hacky solution
The text was updated successfully, but these errors were encountered:
I don't really understand the (gef) feature you're proposing.
You want the gef command context to be executed after clearing your terminal emulator's screen with the CTRL+L keyboard shortcut?
This seems to be very far out of the scope for GEF. To realize something like this while trying to be terminal emulator and distro independent we would have to setup a whole keyboard event handling routine and thereby noticeably increase the dependencies and complexity for GEF and it would most likely mess up the current setup for a lot of the users.
If you really need this you could check with your terminal emulator and see if you setup a different keybinding on your machine that does this for you.
But TBH I also don't really see the benefit in such a shortcut. Could you explain how such a behavior would benefit you?
P.S. If you don't like the GEF output in the same terminal pane as the GEF prompt then you can have a look at our tmux-setup command here. That way you can clear your gef prompt pane and still have the context visible without any new keybindings.
Ahh right, this is of course handled by the terminal emulator and not by GEF, my bad! The benefit to me would mostly be not having to clear my screen and type ctx all the time, but I understand that this would be wayyy out of scope :)
There's a setting to clear the screen when running the context command, but not vice versa. I would love to be able to press CTRL+L to clear the screen and automatically run the context command
Describe the solution you'd like
I think the most straightforward would be a setting (similar to
context.clear_screen
to clear the screen when running context).Or maybe even add an easy way for users to configure their own keybinds? I saw you can do something using
.inputrc
files, but it would be awesome to have an easy to use method for configuring this specifically for gdb/gef! :)Describe alternatives you've considered
I'll try messing around with
.inputrc
for a bit, to create my own hacky solutionThe text was updated successfully, but these errors were encountered: