wip: refactoring tui

This commit is contained in:
adamdottv
2025-06-12 16:00:25 -05:00
parent 98bd5109c2
commit ca0ea3f94d
6 changed files with 275 additions and 71 deletions
+1 -12
View File
@@ -836,18 +836,7 @@ func (a appModel) View() string {
}
if a.showSessionDialog {
overlay := a.sessionDialog.View()
row := lipgloss.Height(appView) / 2
row -= lipgloss.Height(overlay) / 2
col := lipgloss.Width(appView) / 2
col -= lipgloss.Width(overlay) / 2
appView = layout.PlaceOverlay(
col,
row,
overlay,
appView,
true,
)
appView = a.sessionDialog.Render(appView)
}
if a.showModelDialog {