aboutsummaryrefslogtreecommitdiff
path: root/doc/Development/Session.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Development/Session.asciidoc')
-rw-r--r--doc/Development/Session.asciidoc19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/Development/Session.asciidoc b/doc/Development/Session.asciidoc
new file mode 100644
index 0000000..846d6a3
--- /dev/null
+++ b/doc/Development/Session.asciidoc
@@ -0,0 +1,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