diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-01-13 00:50:38 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-01-13 00:50:38 +0300 |
| commit | ee8cff2b41ebee97c2e091f883a01246d4a5decc (patch) | |
| tree | e18fedd3cc6fe61a9a27066c6adafb9ef676b20e /props_table.go | |
| parent | 9f61c6e79368085cd512ff61570b75926c126fe6 (diff) | |
Enha: enable mouse switch
Diffstat (limited to 'props_table.go')
| -rw-r--r-- | props_table.go | 5 |
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) { |
