aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-06-21 11:50:54 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-06-21 11:50:54 -0400
commit081c50df06c1b24dbfdd7854cb16c87e0e681239 (patch)
tree10024064d042d745da8add7d13a3c3bd0a5378cf /modules/textadept
parenta3127c811d2784cc75d09739210332d1e89059c4 (diff)
downloadtextadept-081c50df06c1b24dbfdd7854cb16c87e0e681239.tar.gz
textadept-081c50df06c1b24dbfdd7854cb16c87e0e681239.zip
Save terminal sessions to a different file; modules/textadept/session.lua
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/session.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua
index dd8f9847..2ccee81d 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -17,7 +17,7 @@ local M = {}
-- The default value is `10`.
module('_M.textadept.session')]]
-M.DEFAULT_SESSION = _USERHOME..'/session'
+M.DEFAULT_SESSION = _USERHOME..(not NCURSES and '/session' or '/session_term')
M.SAVE_ON_QUIT = true
M.MAX_RECENT_FILES = 10