Add simple variables viewer, that doesnt cut of line

This commit is contained in:
2026-03-29 18:46:31 +02:00
parent bb829286d1
commit 060ab01648
5 changed files with 59 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, tea.Batch(ListenBridgeExecutionsStopped(m.listenBridgeExecutionsStopped), m.GetLocals())
case LocalsMsg:
m.currLocals = map[string]any(msg)
m.localsViewer.SetContent(strings.Join(flattenDict(m.currLocals, 0), "\n"))
m.localsViewer.SetNewVariables(m.currLocals)
}
return m, cmd