diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-26 11:57:37 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2023-04-26 11:57:37 +0100 |
commit | 0da98a3d83b5aa6ccae73658ef0692c4023bc70f (patch) | |
tree | b360581836295c21aef03efe5fb6f0d3aeb3f5fc /main/parse.go | |
parent | c6b1341fab071ab9d9419dace857b826ddf2acf1 (diff) | |
download | stred-go-0da98a3d83b5aa6ccae73658ef0692c4023bc70f.tar |
Add Y and Z registers
Diffstat (limited to 'main/parse.go')
-rw-r--r-- | main/parse.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/parse.go b/main/parse.go index d31687a..1972b66 100644 --- a/main/parse.go +++ b/main/parse.go @@ -142,6 +142,14 @@ func (p *parser) parseBasicCommand(commandChar rune) Command { return SwapXRegCommand{} case 'X': return AppendXRegCommand{} + case 'y': + return SwapYRegCommand{} + case 'Y': + return AppendYRegCommand{} + case 'z': + return SwapZRegCommand{} + case 'Z': + return AppendZRegCommand{} case 'k': return SwapPathCommand{} case 'K': |