aboutsummaryrefslogtreecommitdiff
path: root/pkg/pointer/pointer.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pointer/pointer.go')
-rw-r--r--pkg/pointer/pointer.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/pointer/pointer.go b/pkg/pointer/pointer.go
index 1465145..4467235 100644
--- a/pkg/pointer/pointer.go
+++ b/pkg/pointer/pointer.go
@@ -99,9 +99,8 @@ func (p *Pointer) Redirect(c int) bool {
case 'r':
p.Reverse()
case 'x':
- dy := p.ss.head.Pop()
- dx := p.ss.head.Pop()
- p.RedirectTo(dx, dy)
+ p.dy = p.ss.head.Pop()
+ p.dx = p.ss.head.Pop()
default:
return false
}