Skip to content

Commit

Permalink
add termp little utility.
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed Aug 30, 2024
1 parent 828ed82 commit 6aaf7ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ciel.asd
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
:secret-values

;; other utilities
:progressons ;; simple progress bar. Not in Quicklisp as of <2024-08-30>.
:progressons ;; no deps. Simple progress bar. Not in Quicklisp as of <2024-08-30>.
:termp ;; no deps. Are we in a dumb terminal like Slime's REPL?

;;;
;;; Language extensions.
Expand Down
3 changes: 3 additions & 0 deletions docs/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,9 @@ As you can see, it needs a manual `step!` to make it progress.

> WARN: progressons in its present form adds significant overhead. You shouldn't use it with a large dataset.
Use [termp](https://github.com/vindarel/termp) if you want to check
wether you are inside a dumb terminal, like Slime's REPL, or a real
one. This check is done by looking at the `TERM` environment variable.

## Development

Expand Down

0 comments on commit 6aaf7ae

Please sign in to comment.