Added comments

This commit is contained in:
Jakob Friedl
2025-09-26 13:24:47 +02:00
parent d477cbd70d
commit 19c073c261
2 changed files with 131 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ proc main() =
sessionsTable.agents.add(agent)
# Initialize position of console windows to bottom by drawing them once when they are added
# By default, the consoles are attached to the same DockNode as the Listeners table (Default: bottom),
# so if you place your listeners somewhere else, the console windows show up somewhere else too
# The only case that is not covered is when the listeners table is hidden and the bottom panel was split
var agentConsole = Console(agent)
consoles[agent.agentId] = agentConsole
let listenersWindow = igFindWindowByName("Listeners")