aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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