From dcfca35dd4a41977e040e43c1dcca9ac527dac39 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Mon, 7 Dec 2015 00:31:58 +0000 Subject: Add newline to end of output --- search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.php') diff --git a/search.php b/search.php index bb98c40..d68beec 100644 --- a/search.php +++ b/search.php @@ -126,5 +126,5 @@ function read_stdin() $input = fgets($fr,128); // read a maximum of 128 characters $input = rtrim($input); // trim any trailing spaces. fclose ($fr); // close the file handle - return $input; // return the text entered + return $input . "\n"; // return the text entered } -- cgit v1.2.3