1
0
mirror of https://github.com/Rudi9719/kbtui.git synced 2026-03-22 08:47:24 +00:00

Refactor delete_empty as per Go naming conventions

This commit is contained in:
2019-10-16 19:58:33 -04:00
parent 3a3fe225ba
commit 9fbf0c52f2

View File

@ -622,7 +622,7 @@ func handleInput(viewName string) error {
return nil return nil
} }
if strings.HasPrefix(inputString, cmdPrefix) { if strings.HasPrefix(inputString, cmdPrefix) {
cmd := delete_empty(strings.Split(inputString[len(cmdPrefix):], " ")) cmd := deleteEmpty(strings.Split(inputString[len(cmdPrefix):], " "))
if len(cmd) < 1 { if len(cmd) < 1 {
return nil return nil
} }