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

added textfill commandline argument #70

Merged
merged 5 commits into from
Apr 7, 2017

Conversation

davidbramsay
Copy link
Contributor

I wrote this command line tool to center one line of text on the screen and make it as large as possible for the screen size. It takes one argument - the string to print - and centers/sizes it appropriately.

sudo papirus-textfill "hello world"

Handles up to 40 chars well, if the input is larger than 40 it will truncate it to 40.

@shawaj
Copy link
Member

shawaj commented Jan 24, 2017

Looks great. Is there a restriction on line length and what happens if you write a large amount of text? Does it wrap to next lines?

Just want usage notes to add to readme

@davidbramsay
Copy link
Contributor Author

hey @shawaj! It won't wrap, it simply truncates anything longer than 40 chars to the first 40 and prints it all on one line (centered, with as large a fontsize as will still fit on the screen).

@shawaj
Copy link
Member

shawaj commented Jan 24, 2017 via email

@davidbramsay
Copy link
Contributor Author

I added it to the bottom of the command line section-- happy to put it under demos instead if that makes more sense (wasn't sure). Let me know if you have other comments!

@shawaj
Copy link
Member

shawaj commented Jan 25, 2017 via email

@davidbramsay
Copy link
Contributor Author

cool! I think it should be ready to merge :)

@francesco-vannini
Copy link
Contributor

Checked and tested. Resolved a conflict with the README.md file, we'll also need to change the script to root check as in #79. Will mark as issue and solve straight away.

@francesco-vannini francesco-vannini merged commit 5308780 into PiSupply:master Apr 7, 2017
@francesco-vannini
Copy link
Contributor

Thanks @dramsay9

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