From 01e024bc49cc5edefc8223fcc0cf991bb331d564 Mon Sep 17 00:00:00 2001 From: tjp Date: Wed, 10 Jan 2024 11:56:23 -0700 Subject: up action clears other url components --- actions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actions.go b/actions.go index b8b3c87..a3cd1d7 100644 --- a/actions.go +++ b/actions.go @@ -400,6 +400,8 @@ func Up(state *BrowserState, conf *Config) error { } u.Path = u.Path[:strings.LastIndex(u.Path, "/")+1] + u.RawQuery = "" + u.Fragment = "" return Navigate(state, &u, -1, conf) } -- cgit v1.2.3