diff options
author | 2013-04-03 16:56:14 -0400 | |
---|---|---|
committer | 2013-04-03 16:56:14 -0400 | |
commit | 679e188ec027978b37eb36a5f2d52bc2cf04ef77 (patch) | |
tree | 61da33e31c8f6f02fcc5fd53e406368635d5df43 /core/file_io.lua | |
parent | 00153ab1c0f7307a8589c7d0cc0a3908cb7f0c34 (diff) |
Textadept should support multiple curses platforms; remove ncurses references.
Requires Scintilla r4436 and Scinterm r45.
Diffstat (limited to 'core/file_io.lua')
-rw-r--r-- | core/file_io.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index 878188ed..7ccf7605 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -396,7 +396,7 @@ end) -- @name open_recent_file function io.open_recent_file() local i = gui.filteredlist(_L['Open'], _L['File'], io.recent_files, true, - NCURSES and {'--width', gui.size[1] - 2} or '') + CURSES and {'--width', gui.size[1] - 2} or '') if i then io.open_file(io.recent_files[i + 1]) end end @@ -445,7 +445,7 @@ function io.snapopen(utf8_paths, filter, exclude_FILTER, ...) io.SNAPOPEN_MAX), '--button1', _L['_OK']) end - local width = NCURSES and {'--width', gui.size[1] - 2} or '' + local width = CURSES and {'--width', gui.size[1] - 2} or '' io.open_file(gui.filteredlist(_L['Open'], _L['File'], list, false, '--select-multiple', width, ...) or '') end |