about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-14 20:21:52 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-14 20:22:00 -0800
commitac29c6a10ca072ec1a5d7f67777becfdeead1e44 (patch)
treef601d4018bc510de876dfd2959117ae7769827cd
parent14a1649c943e916f815a6f79e985b681eb6b00e1 (diff)
downloadmu-ac29c6a10ca072ec1a5d7f67777becfdeead1e44.tar.gz
565
Reduce printing primitives before I start messing with fake versions.
-rw-r--r--mu.arc14
1 files changed, 4 insertions, 10 deletions
diff --git a/mu.arc b/mu.arc
index 7ac07295..628626e8 100644
--- a/mu.arc
+++ b/mu.arc
@@ -642,14 +642,16 @@
                     (die (v arg.1)))  ; other routines will be able to look at the error status
 
                 ; cursor-based (text mode) interaction
+                cursor-mode
+                  (do1 nil (if (no ($.current-charterm)) ($.open-charterm)))
+                retro-mode
+                  (do1 nil (if ($.current-charterm) ($.close-charterm)))
                 clear-screen
                   (do1 nil
                     (if ($.current-charterm)
                           ($.charterm-clear-screen)
                         ($.graphics-open?)
                           ($.clear-viewport Viewport)))
-                clear-line
-                  (do1 nil ($.charterm-clear-line))
                 cursor
                   (do1 nil ($.charterm-cursor (m arg.0) (m arg.1)))
                 cursor-to-next-line
@@ -666,14 +668,6 @@
                         ($.charterm-read-key)
                       ($.graphics-open?)
                         ($.get-key-press Viewport))
-                bold-mode
-                  (do1 nil ($.charterm-bold))
-                non-bold-mode
-                  (do1 nil ($.charterm-normal))
-                cursor-mode
-                  (do1 nil (if (no ($.current-charterm)) ($.open-charterm)))
-                retro-mode
-                  (do1 nil (if ($.current-charterm) ($.close-charterm)))
 
                 ; graphics
                 window-on