From 09d38ed7de01d142c4315b74f91739e073564335 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 15 Aug 2015 05:50:48 -0700 Subject: 2011 I think this can never trigger because 'cursor-column' can't be greater than 'right'. --- edit.mu | 9 --------- 1 file changed, 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 -- cgit 1.4.1-2-gfad0