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

Bug: Printing stops early #68

Open
sirexeclp opened this issue Jan 15, 2020 · 0 comments
Open

Bug: Printing stops early #68

sirexeclp opened this issue Jan 15, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@sirexeclp
Copy link

from erika.erika import Erika
with Erika("/dev/ttyAMA0") as e:
    import sys
    for line in sys.stdin:
        e.print_ascii(line)
        print(line, end="")

import time
time.sleep(2)

cat rechnung.txt | python3 erika-print.py

rechnung.txt

#----------#
#          #
#          #
#----------#

Erika only prints:

#----------#
#          #
#          #
#--
@sirexeclp sirexeclp added the bug Something isn't working label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant