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

Conversation

Projects
None yet
3 participants
@TitanSnow
Contributor

TitanSnow 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 tboox:dev Apr 30, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@TitanSnow

This comment has been minimized.

Show comment
Hide comment
@TitanSnow

TitanSnow Apr 30, 2017

Contributor

Is that available on macos?

Contributor

TitanSnow commented Apr 30, 2017

Is that available on macos?

@waruqi

This comment has been minimized.

Show comment
Hide comment
@waruqi

waruqi Apr 30, 2017

Member

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

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

Merge pull request #78 from TitanSnow/winsize
soft-wrap `help`
(cherry picked from commit 0ecc2b7)
@TitanSnow

This comment has been minimized.

Show comment
Hide comment
@TitanSnow

TitanSnow Apr 30, 2017

Contributor

👍

Contributor

TitanSnow commented Apr 30, 2017

👍

@TitanSnow TitanSnow deleted the TitanSnow:winsize branch Apr 30, 2017

@uael

This comment has been minimized.

Show comment
Hide comment
@uael

uael Apr 30, 2017

love it 👍

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