fix: better 'active' menu

This commit is contained in:
evilsocket 2018-01-13 14:00:57 +01:00
commit 892659ba7f
2 changed files with 12 additions and 5 deletions

View file

@ -104,6 +104,11 @@ func (p ModuleParam) Get(s *Session) (error, interface{}) {
}
func (p ModuleParam) Dump(padding int) string {
return fmt.Sprintf(" "+core.YELLOW+"%"+strconv.Itoa(padding)+"s"+core.RESET+
" : %s\n", p.Name, p.Value)
}
func (p ModuleParam) Help(padding int) string {
return fmt.Sprintf(" "+core.YELLOW+"%"+strconv.Itoa(padding)+"s"+core.RESET+
" : "+