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

Hide secret information #21

Merged
merged 3 commits into from
Oct 24, 2018
Merged

Conversation

cogutvalera
Copy link
Contributor

PR to hide secret information

@troglobit
Copy link
Owner

Thank you for your contribution to editline! :-)

The PR cannot be merged directly due to conflicts. There is also a lot of whitespace changes mixed in with the new functionality. Would you mind redoing the PR; fix the conflicts and also split out (or remove) the whitespace as a separate commit?

@cogutvalera
Copy link
Contributor Author

ok sure ! Thank you !

@troglobit
Copy link
Owner

No, thank you! :)

@cogutvalera
Copy link
Contributor Author

cogutvalera commented Oct 18, 2018

just for the info: this PR to add new feature in editline was in demand of BitShares Core issue bitshares/bitshares-core#1171

@cogutvalera
Copy link
Contributor Author

I've pushed force new commit and added example

src/editline.c Outdated
if (rl_check_secret(rl_line_buffer))
res = write(el_outfd, "", 1);
else
res = write(el_outfd, Screen, ScreenCount);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inconsistent indentation...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! fixed

@cogutvalera
Copy link
Contributor Author

Thanks !

@troglobit
Copy link
Owner

No problem. I didn't understand the use-case at first, and I assumed you'd already seen the el_no_echo global variable and dismissed it.

troglobit added a commit that referenced this pull request Nov 15, 2018
This reverts commit cddd8d8, reversing
changes made to 4ec7d26.
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.

3 participants