aboutsummaryrefslogtreecommitdiff
path: root/module/vulgar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:23:44 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:48:22 +0200
commit1976980d4a272fb7fc3694c734bfc6825edfc721 (patch)
tree8460db1176c64895e9968447588953fac85fe7d6 /module/vulgar.scm
parentRemove all inline use-modules. (diff)
downloadcalp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.gz
calp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.xz
Centralize (almost) all exports to :export in define-module.
Diffstat (limited to 'module/vulgar.scm')
-rw-r--r--module/vulgar.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/vulgar.scm b/module/vulgar.scm
index 5e32baa5..ed24ee97 100644
--- a/module/vulgar.scm
+++ b/module/vulgar.scm
@@ -8,13 +8,13 @@
#:use-module (srfi srfi-60)
#:use-module (vulgar termios)
#:use-module (hnh util)
- #:export (with-vulgar))
+ #:export (cls set-cursor-pos with-vulgar))
-(define-public (cls)
+(define (cls)
;; [H]ome, [J]: clear everything after
(display "\x1b[H\x1b[J"))
-(define-public (set-cursor-pos x y)
+(define (set-cursor-pos x y)
(format #t "\x1b[~a;~aH"
(1+ y) (1+ x)))