summaryrefslogtreecommitdiff
path: root/props_table.go
diff options
context:
space:
mode:
Diffstat (limited to 'props_table.go')
-rw-r--r--props_table.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/props_table.go b/props_table.go
index d86e0b4..a235d7c 100644
--- a/props_table.go
+++ b/props_table.go
@@ -132,6 +132,11 @@ func makePropsTable(props map[string]float32) *tview.Table {
addCheckboxRow("Auto clean tool calls from context", cfg.AutoCleanToolCallsFromCtx, func(checked bool) {
cfg.AutoCleanToolCallsFromCtx = checked
})
+ addCheckboxRow("Enable Mouse", cfg.EnableMouse, func(checked bool) {
+ cfg.EnableMouse = checked
+ // Reconfigure the app's mouse setting
+ app.EnableMouse(cfg.EnableMouse)
+ })
// Add dropdowns
logLevels := []string{"Debug", "Info", "Warn"}
addListPopupRow("Set log level", logLevels, GetLogLevel(), func(option string) {