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

Use Jline3's AttributedString instead of ColorBuffer #296

Closed

Conversation

snuyanzin
Copy link
Collaborator

@snuyanzin snuyanzin commented May 15, 2019

The PR suggests to remove ColorBuffer class and to start using of Jline3's AttributedString class which allows to use more styles.
Jline3 also provides AttributedStringBuilder similar to StringBuilder to build AttributedString objects.
It will also simplify separation into packages mentioned in #175

@julianhyde
Copy link
Owner

I fixed up a bit; see 53d8df0. There was no need for PAD to be a function-object; I changed it to a function rpad. If that's OK I will squash and merge.

@snuyanzin
Copy link
Collaborator Author

Thanks for working on it.
For me it looks ok

@julianhyde
Copy link
Owner

Merged as 912ec22. Thanks @snuyanzin!

@julianhyde julianhyde closed this May 23, 2019
@snuyanzin snuyanzin deleted the SQLLINE_NO_COLOR_BUFFER branch May 26, 2019 07:53
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.

None yet

2 participants