aboutsummaryrefslogtreecommitdiff
path: root/doc/Development/Session.asciidoc
blob: 846d6a3eb727e67408cd2ef03e443911cfdd919c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
== Session

== Session JSON structure
- windows: list of windows

=== Window
- subwindows: list of subwindows

=== Subwindow
- profile: profile ID
- tabs: list of views
- current: current tab index

=== View
- profile: profile ID
- history: view history

Storing history: compress, toBase64 (to make printable), toQString (to store in json)
Restoring history: toLatin1 (turn into bytearray), fromBase64, uncompress