aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/rgl5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/rgl b/bin/rgl
index 4f783d9d..9ed2c12f 100755
--- a/bin/rgl
+++ b/bin/rgl
@@ -28,3 +28,8 @@ while {
# Run grep(1) with the read pattern over the arguments
grep -- "$pat" "$@"
done
+
+# Print a newline if this was a terminal to clear the prompt
+if [ -t 0 ] ; then
+ printf '\n'
+fi