diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-17 00:07:53 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-17 00:07:53 -0700 |
commit | 8fce01c15050a8c565e1d195a3b3a4ac7872db07 (patch) | |
tree | 1876117e09e0a8624e2c0ead848a256f38115b38 /edit/003-shortcuts.mu | |
parent | d2e606f42f7213d16272efc221f6ae56b12a2320 (diff) | |
download | mu-8fce01c15050a8c565e1d195a3b3a4ac7872db07.tar.gz |
3922
Diffstat (limited to 'edit/003-shortcuts.mu')
-rw-r--r-- | edit/003-shortcuts.mu | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/edit/003-shortcuts.mu b/edit/003-shortcuts.mu index f783c06d..87a6f784 100644 --- a/edit/003-shortcuts.mu +++ b/edit/003-shortcuts.mu @@ -30,8 +30,7 @@ cd] scenario editor-inserts-two-spaces-and-wraps-line-on-tab [ local-scope assume-screen 10/width, 5/height - s:text <- new [abcd] - e:&:editor <- new-editor s, 0/left, 5/right + e:&:editor <- new-editor [abcd], 0/left, 5/right editor-render screen, e $clear-trace assume-console [ @@ -1178,8 +1177,7 @@ ghi] scenario editor-moves-to-top-line-in-presence-of-wrapped-line [ local-scope assume-screen 10/width, 5/height - s:text <- new [abcde] - e:&:editor <- new-editor s, 0/left, 5/right + e:&:editor <- new-editor [abcde], 0/left, 5/right editor-render screen, e screen-should-contain [ . . |