You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
235B

  1. (import breadline)
  2. (import fmt)
  3. (import fmt-color)
  4. (let loop ()
  5. (let ((input (readline (fmt #f (fmt-bold (fmt-magenta "> "))))))
  6. (if input
  7. (begin
  8. (display input)
  9. (newline)
  10. (add-history! input)
  11. (loop))
  12. (newline))))