Re: [PATCH] Hide cursor while drawing borders

2015-04-30 Thread Nicholas Marriott
Hi We should do it for all redraw functions. Does this work instead? Also fixes tty_draw_line. Index: server-client.c === RCS file: /cvs/src/usr.bin/tmux/server-client.c,v retrieving revision 1.136 diff -u -p -r1.136 server-client.c

[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