[PATCH] Hide cursor while drawing borders

2015-04-29 Thread George Nachman
The attached patch hides the cursor while drawing borders between window panes. Most programs hide the cursor while redrawing their chrome because it's ugly to see the cursor jumping around the screen. Better for it to disappear for a moment. Here is a video demonstrating the issue: https://dl.dr

Re: running a bash function from with in tmux.

2015-04-29 Thread Sinbad
can anyone shed some light on this. On Wed, Apr 29, 2015 at 7:06 PM, Sinbad wrote: > Hi, > > I have a user defined bash function which takes one string parameter > and does some operation on that string. i want to be able to call this > function from with-in tmux and also pass the parameter from

Re: [PATCH] Don't segfault on NULL tty.path

2015-04-29 Thread Thomas Adam
On Wed, Apr 29, 2015 at 12:06:42AM +0100, Nicholas Marriott wrote: > Actually I think I already fixed this? Yes, I think you rolled this into a larger fix for something else. It doesn't crash for me anymore. Cheers, -- Thomas Adam -- "Deep in my heart I wish I was wrong. But deep in my heart

Re: [PATCH] Adding incremental search and search highlighting

2015-04-29 Thread Nicholas Marriott
Ok, is this good to go? On Wed, Apr 22, 2015 at 12:36:14AM +0100, Nicholas Marriott wrote: > Hi > > I made a few changes to your first diff, please take a look. Notably: > > - update to latest git > - renamed some functions and variables to be shorter > - split window_copy_move_coordinates into

Re: Tmux control mode shrinks sessions, quits when attach -d

2015-04-29 Thread Tony Narlock
Yes, However, this is preventing me from being able to use control mode reliably to get session/window/pane information and orchestrate tmux. This is actually why I ultimately abandoned using control mode in the first iteration of my python wrapper. I will give supporting this a shot in the wrap

Re: Tmux control mode shrinks sessions, quits when attach -d

2015-04-29 Thread Nicholas Marriott
It's just another client. You can set the size somehow. switch-client -C maybe, or something with -C anyway Original message From: Tony Narlock Date:29/04/2015 20:14 (GMT+00:00) To: tmux-users Subject: Tmux control mode shrinks sessions, quits when attach -d Tmux 1.9, D

Tmux control mode shrinks sessions, quits when attach -d

2015-04-29 Thread Tony Narlock
Tmux 1.9, Debian Jessie Reproducing: Control mode will resize / shrink session windows: - Have no sessions running - Start control mode: tmux -C - Second terminal: tmux atta Expected behavior: tmux control mode shouldn't affect window sizes. If attempting to detach with no other clients act

Re: Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Tony Narlock
On Wed, Apr 29, 2015 at 1:34 PM, Thomas Adam wrote: > On 29 April 2015 at 19:24, Tony Narlock wrote: > > Here are the notifications that I need: > > > > - When an active pane is changed > > - When window layouts changed > > - When new pane is added to a window > > - When a client detaches from a

Re: Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Thomas Adam
On 29 April 2015 at 19:24, Tony Narlock wrote: > Here are the notifications that I need: > > - When an active pane is changed > - When window layouts changed > - When new pane is added to a window > - When a client detaches from a session > - Any changes for anything in the FORMATS info of a sessi

Re: Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Tony Narlock
Here are the notifications that I need: - When an active pane is changed - When window layouts changed - When new pane is added to a window - When a client detaches from a session - Any changes for anything in the FORMATS info of a session/window/pane (I suppose just the delta) As it stands, in m

Re: crash when using tmux-resurrect

2015-04-29 Thread Nicholas Marriott
This is probably fixed already in OpenBSD, you can try this: --- cmd-find.c Tue Apr 28 10:36:13 2015 +++ /usr/src/usr.bin/tmux/cmd-find.cWed Apr 29 00:05:40 2015 @@ -242,10 +243,13 @@ cmd_find_current_session_with_client(struct cmd_find_s struct window_pane *wp; /* If t

nvim colorscheme in tmux-4 screenshot

2015-04-29 Thread Suraj N. Kurapati
Hello, In the new http://tmux.sourceforge.net/tmux4.png screenshot, what is the colorscheme used by nvim in the bottom left pane? Thanks for your consideration. -- One dashboard for servers and applications across Physic

crash when using tmux-resurrect

2015-04-29 Thread Suraj N. Kurapati
Hello, I'm using tmux from the master branch (which is currently pointed at 8794562a85ab7221b4ec3b165723faa8ca10db0a) from the Git repository at . When I run the tmux-resurrect[1] plugin's resurrect-restore function, tmux crashes (see attached full backtrace from gdb). This doesn't happen with 7

Re: Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Nicholas Marriott
Hi You can use tmux control mode. On Wed, Apr 29, 2015 at 10:19:48AM -0500, Tony Narlock wrote: >Greetings, >I notice that tmux uses libevent. I maintain a project for interfacing >with tmux through Python.** It's pretty robust, essentially it lets you >control tmux servers, sess

Interfacing with tmux through other languages without shell commands? Libevent? Shared libraries?

2015-04-29 Thread Tony Narlock
Greetings, I notice that tmux uses libevent. I maintain a project for interfacing with tmux through Python. It's pretty robust, essentially it lets you control tmux servers, sessions, windows and panes as tmux objects [1+2]. This is the only external language binding I've seen with tmux: - https

What is tmux's relatinon to OpenBSD?

2015-04-29 Thread Tony Narlock
Tmux users, What is tmux' relation to OpenBSD? Do they share the same codebase? -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications P

running a bash function from with in tmux.

2015-04-29 Thread Sinbad
Hi, I have a user defined bash function which takes one string parameter and does some operation on that string. i want to be able to call this function from with-in tmux and also pass the parameter from tmux itself. how can i achieve that ? thanks