This makes sense to me although it is uglying (uglifying?) things up
even further :-).

Don't really have time to clean up that code and I'd probably only break
it again so let's go for this in the meantime?

Sorry it took so long...

I'm away again and not back for good until Sunday.

Cheers


On Fri, Mar 04, 2011 at 05:57:46PM -0800, Micah Cowan wrote:
> Hey Nicholas, please check this over for me.
> 
> This patch is intended to fix the wide-chars wrapping thing. I've
> attached a simple script to illustrate the problem, and a patch.
> 
> The patch is two parts: one is to let wrapping occur when the final wide
> character "overlaps" the end of the line; the other is to make sure that
> character actually gets placed at the correct location (first position
> of the _pane_ - wasn't working if the pane wasn't on the left).
> 
> I don't know this code all that terrifically well, so please look it
> over to make sure it makes sense.
> 
> -- 
> Micah J. Cowan
> http://micah.cowan.name/


> #msg='?????????????????? ??????????????????'
> msg='???????????????????????????'
> 
> chr=.
> 
> foo() {
>     echo $msg$msg$msg$msg$msg$chr$msg$msg
> }
> 
> foo
> echo
> printf ' '; foo
> echo
> foo
> echo
> printf ' '; foo

> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to