Improving get file by writing three /n at the end.

This commit is contained in:
Denis-Cosmin Nutiu 2017-11-09 23:04:46 +02:00
parent 045ac76af3
commit c8a2cb4877

View file

@ -1,6 +1,7 @@
package server package server
import ( import (
"io"
"strings" "strings"
) )
@ -46,6 +47,7 @@ func ProcessInput(c Client, text string) error {
if err != nil { if err != nil {
return &InputError{thisCommand, err} return &InputError{thisCommand, err}
} }
io.WriteString(c.Connection(), "\n\n")
case "ls": case "ls":
err := checkArgumentsLength(commandsLen, 1) err := checkArgumentsLength(commandsLen, 1)
if err != nil { if err != nil {