summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
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
}