Skip to content

Commit

Permalink
add clear command to completer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnourallah authored Jul 20, 2017
1 parent 2c35efc commit be5d422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/module_interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def listCompleter(text,state):

self.listCompleter = listCompleter
t = tabCompleter()
t.createListCompleter(["set", "exploit", "back", "check", "help", "info", 'banner', 'run', 'exec'])
t.createListCompleter(["set", "exploit", "back", "check", "help", "info", 'banner', 'run', 'exec','clear'])
readline.set_completer_delims('\t')
readline.parse_and_bind("tab: complete")
readline.set_completer(t.listCompleter)
Expand Down

0 comments on commit be5d422

Please sign in to comment.