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

From: Chris Emerson <c-ta.att.mail.nosreme.org>
Date: Sat, 18 Oct 2014 22:10:28 +0100

Hi Mitchell,

On Sat, Oct 18, 2014 at 01:20:15PM -0400, Mitchell wrote:
> On Thu, 16 Oct 2014, Chris Emerson wrote:
> > 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?

I think it's ok to commit that (and the corresponding one for raw mouse events
attached). You may have different ideas about the actual event names and
arguments, coding style etc. - I'm happy as long as the information gets
through to Lua, so I can try out making use of it. :-)

Chris

-- 
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 - 17:10:28 EDT

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