diff --git a/clipboard.py b/clipboard.py index 8d33483..eaa2bb1 100644 --- a/clipboard.py +++ b/clipboard.py @@ -5,13 +5,14 @@ import argparse import pyperclip import sys +from voussoirkit import pipeable + def clipboard_argparse(args): if args.output_file: open(args.output_file, 'w', encoding='utf-8').write(pyperclip.paste()) else: text = pyperclip.paste() - text = text.replace('\r', '') - print(text) + pipeable.stdout(text) return 0 diff --git a/repr.py b/repr.py index b574464..3e0152b 100644 --- a/repr.py +++ b/repr.py @@ -1,4 +1,4 @@ from voussoirkit import pipeable for line in pipeable.go(): - print(repr(line)) + pipeable.stdout(repr(line))