(print (str (char 27) "[2J")) ; clear screenCredit: http://codereview.stackexchange.com/questions/17603/critique-my-clojure-game-of-life-code
(print (str (char 27) "[;H")) ; move cursor to the top left corner of the screen
Thursday, September 24, 2015
Subscribe to:
Post Comments (Atom)
Collectd PostgreSQL Plugin
I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresq...
-
sudo su postgres supply your Mac password modify /Library/PostgreSQL/9.x/data/pg_hba.conf from local all all md5 to local all all ...
-
Put your cursor on the text box of the post/comment you want to indent Go to the menubar at the top of the screen Edit > Emoji & ...
-
I ran to this error the other day when I tried to export a dump file from a slave Postgres database. cpg_dump: Dumping the contents of ta...
3 comments:
Works well, thank you!
Awesome, perfect. Thanks.
Unfortunately, the cursor moving ANSI hasn't worked in any console I've tried it in (including the native Window's console). I had to resort to using this hack function:
(defn move-cursor-to [x y]
(let [r #(apply str (repeat % %2))]
(print (str (r y \newline)
(r x \space)))))
Post a Comment