aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-05 17:09:58 -0400
committermitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-05 17:09:58 -0400
commit960aaab57d96e9b8b77222db95e8b120ab0b13b5 (patch)
tree0a296793755c21d9fd1bd4354059453ee1fd9dd9 /modules/textadept
parent9952db760ae205d25de900349ac0fc6ae33b7be9 (diff)
downloadtextadept-960aaab57d96e9b8b77222db95e8b120ab0b13b5.tar.gz
textadept-960aaab57d96e9b8b77222db95e8b120ab0b13b5.zip
Increase the width of dialogs that hold filenames in the terminal version.
Long filenames are clipped.
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 15106014..7083c991 100644
--- a/modules/textadept/session.lua
+++ b/modules/textadept/session.lua
@@ -108,7 +108,7 @@ function M.load(filename)
title = _L['Session Files Not Found'],
text = _L['The following session files were not found'],
informative_text = table.concat(not_found, '\n'):iconv('UTF-8', _CHARSET),
- icon = 'gtk-dialog-warning'
+ icon = 'gtk-dialog-warning', width = CURSES and ui.size[1] - 2 or nil
}
end
session_file = filename