Names and titles

Some notes on how sessions and windows are named and identified. This needs to be updated. Merge with Sessions and Windows section.

DomTerm element attributes

Each DomTerm instance in a browser has a corresponding <div> element which has domterm in its class attribute. The <div class="domterm"> element also has the following identifying attributes, which can be used for session-specific styling:

Window and tab title bars

When tabs are used, DomTerm displays the window name in each tab. For active tabs, DomTerm displays both the window name (normally the session name) and the window title (typically the current directory). This information may be shown in the main window title bar as well as the currently active tab.