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

The ascii art is not alignd in Python command line? #2

Closed
Huaweidev opened this issue Jan 29, 2019 · 3 comments
Closed

The ascii art is not alignd in Python command line? #2

Huaweidev opened this issue Jan 29, 2019 · 3 comments

Comments

@Huaweidev
Copy link

I have an issue about cowsay 2.0 in python,the ascii art is not alignd in Python command line. Like the picture below:

  • OS version: Microsoft Windows 10 version 1803
  • Python version:Python 3.7.2
  • cowsay version: cowsay.about() version ---> 2.0

pic_0129210255
pic_0129210307
pic_0129210319

@pjfitzgibbons
Copy link

Also cow:

  _______________
< BACKUP DATABASE >
  ===============
                    \
                     \
                       ^__^
                       (oo)\_______
                       (__)\       )\/       ||----w |
                           ||     ||

@VaasuDevanS
Copy link
Owner

I downgraded to the original version. Now it should work like a charm..!!
Reinstalling should work..!! Sorry for the late reply..!!

@cs01
Copy link
Contributor

cs01 commented Apr 7, 2019

This was from a change I pushed to PyPI. @VaasuDevanS reverted it back to v1.0 (thanks! 😄). I have pushed an update to PyPI (v 2.0.3) and also created a Pull Request with the changes.

The cause of the problem is that my text editor trims trailing whitespace when I save, and for some reason this messes up the display of the characters. Ideally this would somehow be fixed in the source code. For now I just turned that setting off and made the change I needed to make.

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

No branches or pull requests

4 participants