about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-15 05:50:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-15 05:50:48 -0700
commit09d38ed7de01d142c4315b74f91739e073564335 (patch)
treed41a4c2c8de35f8fb27552f60aa42c3b376dff1f
parent746c2d0c86714b1aefcc18bae516f3bd05f226d6 (diff)
downloadmu-09d38ed7de01d142c4315b74f91739e073564335.tar.gz
2011
I think this can never trigger because 'cursor-column' can't be greater
than 'right'.
-rw-r--r--edit.mu9
1 files changed, 0 insertions, 9 deletions
diff --git a/edit.mu b/edit.mu
index 3010fbd4..ed1b2710 100644
--- a/edit.mu
+++ b/edit.mu
@@ -232,15 +232,6 @@ recipe render [
     break-unless before-cursor?
     *cursor-row <- copy row
     *cursor-column <- copy column
-    # line not wrapped but cursor outside bounds? wrap cursor
-    {
-      too-far-right?:boolean <- greater-than *cursor-column, right
-      break-unless too-far-right?
-      *cursor-column <- copy left
-      *cursor-row <- add *cursor-row, 1
-      above-screen-bottom?:boolean <- lesser-than *cursor-row, screen-height
-      assert above-screen-bottom?, [unimplemented: wrapping cursor past bottom of screen]
-    }
     *before-cursor <- copy prev
   }
   # clear rest of screen