On Fri, Dec 27, 2013 at 11:39:58PM +0100, Mikhail Morfikov wrote:
> When I divide a window vertically, and when I try to use a double click
> to select a word, I noticed that it also selects a part of the vertical
> line. It doesn't select the horizontal line though.
> 
> Let's say that we have a word "word|", when I click 2x on it, it selects
> only the text "word" without "|" . But when the same word is placed near
> the vertical border, and I try to select it, I got "???word". I noticed
> that the character is a little bit different -- ??? and | -- the line
> is longer. 
> 
> As I mentioned, this doesn't happen to the horizontal line, and I
> think it's because of the space between the line and the text -- there's
> no space between the vertical line and the text, so that's why the line
> is also highlighted. If there were something behind the line, a long
> text that fits the whole line in the other pane, it also would be
> selected through the border. I think this could be solved by adding some
> margin/padding to the vertical line, but unfortunately I can't find
> any setting that could separate the line from the text in a pane. Is
> there an option that allows setting margins to the borders? 

Probably you need to configure the characters that are considered part
of a word in your terminal not to include the UTF-8 line drawing
characters.

> I have another question. Let's say we have another window also divided
> vertically, and we have to select some lines in the left pane using
> a mouse. What happens? It also selects content from the right pane.
> Is there something I can do about it, or do I have to forget about
> selecting the whole line in vertically divided windows, of course, by
> using mouse?

You can use tmux mode-mouse option which is aware of panes (but it does
not support word selection).

> 
> I'm using urxvt pseudo terminal.



> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT 
> organizations don't have a clear picture of how application performance 
> affects their revenue. With AppDynamics, you get 100% visibility into your 
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

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


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&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