diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-12 21:16:01 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-12 21:16:01 +0200 |
commit | 118c8c6d3fe5270adf47d34b852df649128d3bea (patch) | |
tree | da0774a9dad45006f2a06bf1bbff14bf268e8bad /module | |
parent | Allow HTML output of all routes. (diff) | |
download | calp-118c8c6d3fe5270adf47d34b852df649128d3bea.tar.gz calp-118c8c6d3fe5270adf47d34b852df649128d3bea.tar.xz |
Add explaining comment to get-terminal-size.
Diffstat (limited to '')
-rw-r--r-- | module/vulgar/info.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/vulgar/info.scm b/module/vulgar/info.scm index 79e555da..963e20c8 100644 --- a/module/vulgar/info.scm +++ b/module/vulgar/info.scm @@ -1,6 +1,8 @@ (define-module (vulgar info) :use-module (hnh util)) +;; Sort-of backwards subprocess call since we want the current terminal to be +;; inherited by stty (define-public (get-terminal-size) (let* (((rpipe . wpipe) (pipe))) (system (format #f "stty size > /proc/~s/fd/~s" |