From b2f7d9b036b54bff893d0dbe916c326d0be8246b Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 7 Feb 2020 15:08:00 -0500 Subject: Prevent hangs on WIN32 curses with `textadept.editing.filter_through()`. There is no ability to read and write to processes on Win32 curses, so disable the feature. --- modules/textadept/editing.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua index 4ea30f96..b0e8bf62 100644 --- a/modules/textadept/editing.lua +++ b/modules/textadept/editing.lua @@ -578,6 +578,7 @@ end -- text through. May contain pipes. -- @name filter_through function M.filter_through(command) + assert(not (WIN32 and CURSES), 'not implemented in this environment') local s, e = buffer.selection_start, buffer.selection_end if s ~= e then -- Use the selected lines as input. -- cgit v1.2.3