mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-22 07:37:23 +00:00
Refactor delete_empty as per Go naming conventions
This commit is contained in:
2
main.go
2
main.go
@ -622,7 +622,7 @@ func handleInput(viewName string) error {
|
||||
return nil
|
||||
}
|
||||
if strings.HasPrefix(inputString, cmdPrefix) {
|
||||
cmd := delete_empty(strings.Split(inputString[len(cmdPrefix):], " "))
|
||||
cmd := deleteEmpty(strings.Split(inputString[len(cmdPrefix):], " "))
|
||||
if len(cmd) < 1 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user