aboutsummaryrefslogtreecommitdiff
path: root/src/lib.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.lisp')
-rw-r--r--src/lib.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.lisp b/src/lib.lisp
index d1b8db6..b21272a 100644
--- a/src/lib.lisp
+++ b/src/lib.lisp
@@ -68,7 +68,7 @@
with the provided name is on the system. It is not perfect. It
consults the environment PATH, and looks for the command in any of
the directories that appear in the value of that variable."
- #+(unix)
+ #+unix
(loop for path in (str:split ":" (uiop:getenv "PATH"))
for directory = (cons :absolute
(cdr (str:split "/" path)))
@@ -79,7 +79,7 @@ the directories that appear in the value of that variable."
(remove-if-not #'executable-on-system-p (ppcre:split " +" oneliner)))
(defun prompt (prompt &key (out-stream *standard-output*) (in-stream *standard-input*))
- (princ prompt out-stream)
+ (princ prompt out-stream) (force-output out-stream)
(read-line in-stream))
;;; API REQUEST FUNCTIONS