New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Word or line mouse selection reverts to character selection when dragging #682
Comments
I haven't had time to look but I don't think we need wordflag, it sounds like the problem is just that the selection start should be moved to the B? |
Something like this: x.diff.txt |
@nicm, I can't see how this problem can be solved without introducing wordflag. |
OK, if you want to do it go for it.
…On Wed, Dec 07, 2016 at 12:42:43PM -0800, Artem Fokin wrote:
***@***.***, I can't see how this problem can be solved without introducing
wordflag.
The behavior wanted here can be seen in any text editor/web browser:
double click a word and now you select only on word boundaries. triple
click - and you select on line boundaries.
--
You are receiving this because you were mentioned.
Reply to this email directly, [2]view it on GitHub, or [3]mute the thread.
Reverse link: [4]unknown
References
Visible links
1. https://github.com/nicm
2. #682 (comment)
3. https://github.com/notifications/unsubscribe-auth/AASkcydeCfZY8oU1Byx9aucfSDPpJe1Aks5rFxpDgaJpZM4LDX7P
4. #682 (comment)
|
it's be really cool if these flags also worked for mouse dragging selection |
I've put this in the TODO file. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
TMUX VERSION: git master (>2.3, 6749a30 = latest github version, as of 3rd December 2016)
PLATFORM: CentOS Linux release 7.2.1511 (Core)
MINIMAL TMUX CONFIG: set -g mouse on
TERM OUTSIDE TMUX: xterm-256color
TERM INSIDE TMUX: screen-256color
Steps to reproduce problem:
echo "The Quick Brown Fox Jumps"
Prefix '['
o
inBrown
.Note: The word
Brown
should now be highlighted by tmux (good)o
inFox
.Note: Instead of
Brown Fox
being highlighted (good), you will see onlyown Fo
highlighted (bad)The same applies to line selection mode after triple-clicking when selecting lines.
E.g. if you have the text:
and you triple-click over the
o
inBrown
, the whole first line is selected (good).But if you drag the selection down to the
y
inLazy
you will see onlyown Fox Jumps
...y Dog
selected, i.e. the right half of the first line and the left half of the second line (bad).The text was updated successfully, but these errors were encountered: