diff options
Diffstat (limited to '')
-rw-r--r-- | src/pointer.zig | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/pointer.zig b/src/pointer.zig index 70c9a28..7dbf566 100644 --- a/src/pointer.zig +++ b/src/pointer.zig @@ -160,8 +160,15 @@ pub const Pointer = struct { p.sox = p.x + p.dx; p.soy = p.y + p.dy; }, - // TODO - '}' => return error.NotImplemented, + '}' => { + const v = p.ss.end() catch null; + if (v) |so| { + p.sox = so[0]; + p.soy = so[1]; + } else { + p.reverse(); + } + }, // TODO 'u' => return error.NotImplemented, 'g' => { |