Skip to content

soft-wrap help#78

Merged
waruqi merged 6 commits intodevfrom
unknown repository
Apr 30, 2017
Merged

soft-wrap help#78
waruqi merged 6 commits intodevfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@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
Copy Markdown
Author

ghost commented Apr 30, 2017

Is that available on macos?

@waruqi
Copy link
Copy Markdown
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
Copy Markdown
Author

ghost commented Apr 30, 2017

👍

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

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.

2 participants