Rename auto-forward -> toggle-intercept

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-12 22:25:10 +02:00
parent 7879720d07
commit a6bd5c1071
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ type Config struct {
} `mapstructure:"tui"`
Intercept struct {
DefaultAutoForward bool `mapstructure:"default_auto_forward"`
DefaultInterceptEnabled bool `mapstructure:"default_intercept_enabled"`
DefaultCaptureResponse bool `mapstructure:"default_capture_response"`
AutoForwardRegex []string `mapstructure:"auto_forward_regex"`
} `mapstructure:"intercept"`
+2 -2
View File
@@ -6,7 +6,7 @@ app:
plugins_dir: ~/.config/spilltea/plugins
intercept:
default_auto_forward: false
default_intercept_enabled: true
default_capture_response: false
auto_forward_regex:
- '\.(js|css|png|gif|ico|woff2?|ttf|svg)(\?.*)?$'
@@ -61,7 +61,7 @@ keybindings:
forward_all: "F"
drop: "d"
drop_all: "D"
auto_forward: "a"
toggle_intercept: "a"
capture_response: "r"
undo_edits: "ctrl+z"
edit: "e,enter"
+1 -1
View File
@@ -22,7 +22,7 @@ type InterceptKeys struct {
ForwardAll string `mapstructure:"forward_all"`
Drop string `mapstructure:"drop"`
DropAll string `mapstructure:"drop_all"`
AutoForward string `mapstructure:"auto_forward"`
ToggleIntercept string `mapstructure:"toggle_intercept"`
CaptureResponse string `mapstructure:"capture_response"`
UndoEdits string `mapstructure:"undo_edits"`
Edit string `mapstructure:"edit"`