diff options
-rw-r--r-- | modules/textadept/session.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index ba98a728..dd737cb5 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -72,7 +72,7 @@ function load(filename, only_pm) local width, height = line:match('^size: (%d+) (%d+)$') if width and height then textadept.size = { width, height } end elseif line:find('^pm:') then - local width, cursor, text = line:match('^pm: (%d+) ([%d:]+) (.+)$') + local width, cursor, text = line:match('^pm: (%d+) ([%d:]+) (.*)$') textadept.pm.width = width or 0 textadept.pm.entry_text = text or '' textadept.pm.activate() |