From c8a2cb4877a33c7a45d5e61665a7620195eb4ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Thu, 9 Nov 2017 23:04:46 +0200 Subject: [PATCH] Improving get file by writing three /n at the end. --- server/server/parser.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/server/parser.go b/server/server/parser.go index a90c98f..770f30e 100644 --- a/server/server/parser.go +++ b/server/server/parser.go @@ -1,6 +1,7 @@ package server import ( + "io" "strings" ) @@ -46,6 +47,7 @@ func ProcessInput(c Client, text string) error { if err != nil { return &InputError{thisCommand, err} } + io.WriteString(c.Connection(), "\n\n") case "ls": err := checkArgumentsLength(commandsLen, 1) if err != nil {