On Fri, Jul 12, 2013 at 05:59:35PM -0400, Ben Boeckel wrote:
> On Fri, Jul 12, 2013 at 22:30:15 +0100, Nicholas Marriott wrote:
> > > window-copy's prompt would be easier). I had it as a TODO item to merge
> > > the status-bar with window-copy's prompt. I can resurrect it if that
> > > would be wanted.
> > 
> > In what way do you mean? Common editing code? I'd be interested in that
> > if it'll make things simpler.
> 
> Yeah, basically a function which would take a line, cursor position,
> insert/normal mode, and a command then edit the cursor position and line
> as needed.

Sounds good. Although I would probably define a struct edit_state or
something to hold the state and have the func take the state and next
key then just return a value saying whether it's
complete/cancel/need-redraw.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to