(patom "\033[2J" nil)
)
-(defun test ()
- (clear)
- (move-to 30 12)
- (patom "hello, world")
- (move-to 0 19)
- )
-
(setq stack '("*" "**" "***" "****" "*****" "******" "*******"))
(setq stacks nil)
(defun display-string (x y str)
- (move-to x y)
(move-to x y)
(patom str)
)
(defun display ()
(display-stacks 0 20 stacks)
- (move-to 1 1)
- (patom "\n")
+ (move-to 1 21)
+ (flush)
)
(defun length (l)
(setq stacks (replace stacks from from-stack))
(setq stacks (replace stacks to to-stack))
(display)
- (delay 500)
+ (delay 100)
)
)