diff options
author | 2020-02-07 15:08:00 -0500 | |
---|---|---|
committer | 2020-02-07 15:08:00 -0500 | |
commit | b2f7d9b036b54bff893d0dbe916c326d0be8246b (patch) | |
tree | ee7845731f66848d8f80a045ba70ca9540eed5b5 /modules/textadept | |
parent | a48f7b740c6ede6395056df321c1f9b8990fee19 (diff) | |
download | textadept-b2f7d9b036b54bff893d0dbe916c326d0be8246b.tar.gz textadept-b2f7d9b036b54bff893d0dbe916c326d0be8246b.zip |
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.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/editing.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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. |