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

re-add optional argument #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulbdavis
Copy link

Fixes #6

@suonlight
Copy link
Owner

This package is in the process of publishing on melpa. The others have concerned this arg. We don't use it internally in the package. So, I recommend that you to write your own function to add this arg on spacemacs.

FYI: The package is renamed to multi-vterm

@paulbdavis
Copy link
Author

Not sure I fully understand the issue. Re-adding the variable obviously has some effect, so it must not be totally unused in the package, even if it's not used in that function.

I'm not sure why just re-adding the optional argument seems to restore the original behavior without having to modify anything else, but it would imply that it's used somewhere in some capacity.

@suonlight
Copy link
Owner

Can you please add docstring to explain why we need this unused arg? So that, everyone can understand how/where the arg is used.

@paulbdavis
Copy link
Author

When the function argument is there and you pass in a string, it uses that as the name for the newly spawned terminal instead of the default naming. I'm not sure how it does this, since it's not obvious in the code, but it did do it before this was removed.

I've been using my fork and it looks like this has changed more, I'll revisit it when I get a chance

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

Successfully merging this pull request may close these issues.

multi-libvterm function no longer accepts buffer name argument
2 participants