Re: Patch with Lua support (+more)

2013-08-08 Thread Thomas Adam
On Thu, Aug 08, 2013 at 04:31:12PM -0500, Jared Stafford wrote: > One problem that this solved for me, apart from performance, was > easier access to options, and the ability to store private data > associated with the session. For instance, one thing i use Lua for is > to implement a "raw" mode:

Re: Patch with Lua support (+more)

2013-08-08 Thread Jared Stafford
One problem that this solved for me, apart from performance, was easier access to options, and the ability to store private data associated with the session. For instance, one thing i use Lua for is to implement a "raw" mode: local norm_prefix = tmux.string_to_key("C-a") local norm_prefix2 = tmux.

Re: Patch with Lua support (+more)

2013-08-08 Thread Thomas Adam
Hi, On 8 August 2013 21:53, Jared Stafford wrote: > A while ago I wrote a patch for tmux to add Lua support. This adds a > bit more flexibility and performance over writing a shell script that > just runs tmux commands; for instance, you can have lua code that runs > when a window or session is c

Patch with Lua support (+more)

2013-08-08 Thread Jared Stafford
A while ago I wrote a patch for tmux to add Lua support. This adds a bit more flexibility and performance over writing a shell script that just runs tmux commands; for instance, you can have lua code that runs when a window or session is created or destroyed: function tmux.oncreate.window_pane(wp)