From 679e188ec027978b37eb36a5f2d52bc2cf04ef77 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 3 Apr 2013 16:56:14 -0400 Subject: Textadept should support multiple curses platforms; remove ncurses references. Requires Scintilla r4436 and Scinterm r45. --- core/file_io.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/file_io.lua') 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 -- cgit v1.2.3