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

Add setenv and chdir methods to the CLibrary #196

Closed
gnodet opened this issue Feb 10, 2021 · 4 comments · Fixed by grails/grails-data-mapping#1444 · May be fixed by gnodet/jansi#1
Closed

Add setenv and chdir methods to the CLibrary #196

gnodet opened this issue Feb 10, 2021 · 4 comments · Fixed by grails/grails-data-mapping#1444 · May be fixed by gnodet/jansi#1
Assignees
Milestone

Comments

@gnodet
Copy link
Member

gnodet commented Feb 10, 2021

No description provided.

@oxc
Copy link

oxc commented Apr 7, 2021

Could you explain why this was added? It does not seem to be called from the java code?

@gnodet
Copy link
Member Author

gnodet commented Apr 7, 2021

@oxc
Copy link

oxc commented Apr 7, 2021

I see. Sounds to me that it was convenient to add them to Jansi because the infrastructure already exists, but they shouldn't really be in here but in a separate library. They seem to have nothing to do with Ansi terminal handling, and are not needed by any "normal" users of this library.

I have recently added a Pull request to a project introducing Jansi, and they have raised concerns about whether the library introduces any hard to control native behavior. I must agree that having unused functions in the native blobs that are not even used by the first party library feels somewhat conspicuous.

@garydgregory
Copy link
Contributor

garydgregory commented Apr 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment