diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-14 02:52:30 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-14 02:52:30 -0700 |
commit | 3b18846e1fe46e13f01169e86d61868878dc230b (patch) | |
tree | 2e4c87727c8d141226f4ff7d69149ba453b23fd8 /apps | |
parent | c3edaff02a4c6a21daf264da7963a27ff73e8fb3 (diff) | |
download | mu-3b18846e1fe46e13f01169e86d61868878dc230b.tar.gz |
7019
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tile/environment.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 79a6e5c7..e444b34c 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -346,7 +346,7 @@ $process:body: { break-if-!= $process:body # - remaining keys only work at the top row outside any function calls compare key, 0x7f # del (backspace on Macs) - { + $process:backspace: { break-if-!= # if not at start of some word, delete grapheme before cursor within current word var at-start?/eax: boolean <- cursor-at-start? cursor-word @@ -370,7 +370,7 @@ $process:body: { break $process:body } compare key, 0x20 # space - { + $process:space: { break-if-!= # insert new word append-word cursor-word-ah @@ -381,7 +381,7 @@ $process:body: { # otherwise insert key within current word var g/edx: grapheme <- copy key var print?/eax: boolean <- real-grapheme? key - { + $process:real-grapheme: { compare print?, 0 # false break-if-= add-grapheme-to-word cursor-word, g |