Skip to content
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

Git status - Long file names are not detected properly #124

Open
dylan-chong opened this issue Dec 23, 2017 · 1 comment
Open

Git status - Long file names are not detected properly #124

dylan-chong opened this issue Dec 23, 2017 · 1 comment
Labels

Comments

@dylan-chong
Copy link

dylan-chong commented Dec 23, 2017

How to replicate:

Make your terminal less wide, for exampled by opening a horizontal split

Then run:

git clone https://github.com/dylan-chong/long-filename-test
cd long-filename-test
git reset head~
git status

Now press <prefix><c-g>.

You should get something that looks like a screenshot below:

In the screenshot below, the last long file is not selected because it goes across multiple lines.

screen shot 2017-12-23 at 8 39 27 pm


This bug is quite annoying because i have files which are in very deeply nested directories, which causes the filename in git status to flow across to the second line.

@bruno- bruno- added the bug label Jan 10, 2018
@bruno-
Copy link
Member

bruno- commented Jan 10, 2018

I confirm this is a bug. I remember I tried solving it when this plugin was initially developed but I was unable to find a proper solution. I'd be ok to add this to the known limitations page https://github.com/tmux-plugins/tmux-copycat/blob/master/docs/limitations.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants