Re: [code] [textadept] Curses mouse/CSI events

From: Mitchell <m.att.foicica.com>
Date: Sat, 18 Oct 2014 13:20:15 -0400 (EDT)

Hi Chris,

On Thu, 16 Oct 2014, Chris Emerson wrote:

> Hi Mitchell,
>
> On Wed, Oct 15, 2014 at 11:34:17AM -0400, Mitchell wrote:
>> Yes I would accept patches for mouse events. I looked into this some
>> time ago, but wasn't able to get anything working. However, I am
>> ignorant when it comes to terminal stuff, so I'm sure you'll have
>> more success.
>
> Not mouse events, but here's a proof of concept which passes UNKNOWN_CSI events
> from TermKey to Lua (event "csi"), and some example lua to do something with
> bracketed pastes (surround text with "<paste>" and "</paste>"). I would use
> something like this to improve paste behaviour (eg by turning off autoindent
> during the paste, which seems to be slow for large pastes and also not what I
> usually want).

This looks useful. Is the C part at least in a state where I can commit
it? Or is there more to do?

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 18 Oct 2014 - 13:20:15 EDT

This archive was generated by hypermail 2.2.0 : Sun 19 Oct 2014 - 06:34:22 EDT