Some notes on how sessions and windows are named and identified. This needs to be updated. Merge with Sessions and Windows section.
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:
session-number=
session-number
pid=
pid
session-name=
session-name
(but only if the session-name has been set).
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.