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

soft-wrap help #78

Merged
merged 6 commits into from Apr 30, 2017
Merged

soft-wrap help #78

merged 6 commits into from Apr 30, 2017

Conversation

ghost
Copy link

@ghost ghost commented Apr 30, 2017

in standard 80x40 terminal, xmake --help print help info will overflow in horizontal which not looks nice

I add feature to get terminal size in runtime and soft-wrap the help printing

It has only tested on linux. If it's able to work in macos, please add the macos define check in getwinsize.c by directly push here

@waruqi waruqi merged commit 0ecc2b7 into xmake-io:dev Apr 30, 2017
@ghost
Copy link
Author

ghost commented Apr 30, 2017

Is that available on macos?

@waruqi
Copy link
Member

waruqi commented Apr 30, 2017

@titansnow Great, it works on macos and I also implement it on windows. 😸

waruqi added a commit that referenced this pull request Apr 30, 2017
soft-wrap `help`
(cherry picked from commit 0ecc2b7)
@ghost
Copy link
Author

ghost commented Apr 30, 2017

👍

@ghost ghost deleted the winsize branch April 30, 2017 13:27
@uael
Copy link

uael commented Apr 30, 2017

love it 👍

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

3 participants