mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
fix: better 'active' menu
This commit is contained in:
parent
ce3de2e0ad
commit
892659ba7f
2 changed files with 12 additions and 5 deletions
|
@ -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+
|
||||
" : "+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue