summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
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":