summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2024-01-14 19:54:15 -0700
committertjp <tjp@ctrl-c.club>2024-01-14 19:54:15 -0700
commitdfebc9013b5414e9a3c5f940704e831c31ce35d2 (patch)
treed9b34c1714ecc78f9546ec89907d1b5c8c4a34a6 /command.go
parentb173ca9cb2a6d463efda27cf143a81e0d6caedb8 (diff)
fixes
Diffstat (limited to 'command.go')
-rw-r--r--command.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.go b/command.go
index d994866..db0c6a2 100644
--- a/command.go
+++ b/command.go
@@ -383,13 +383,13 @@ func RunCommand(conf *Config, cmd *Command, state *BrowserState) error {
if len(cmd.Args) == 1 {
num, _ = strconv.Atoi(cmd.Args[0])
}
- return Back(state, num)
+ return Back(state, conf, num)
case "forward":
num := 1
if len(cmd.Args) == 1 {
num, _ = strconv.Atoi(cmd.Args[0])
}
- return Forward(state, num)
+ return Forward(state, conf, num)
case "next":
return Next(state, conf)
case "previous":