mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 20:52:19 +00:00
Print failure message to standard error
This commit is contained in:
parent
4ad4e28a9c
commit
3fd2f03f11
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ to output the current clipboard contents to stdout. Note that you must enable re
|
|||
sys.stdout.write(handler.clipboard_contents)
|
||||
sys.stdout.flush()
|
||||
if handler.print_on_fail:
|
||||
print(handler.print_on_fail)
|
||||
print(handler.print_on_fail, file=sys.stderr)
|
||||
input('Press Enter to quit')
|
||||
raise SystemExit(loop.return_code)
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ def main(args):
|
|||
handler = Resize(args)
|
||||
loop.loop(handler)
|
||||
if handler.print_on_fail:
|
||||
print(handler.print_on_fail)
|
||||
print(handler.print_on_fail, file=sys.stderr)
|
||||
input('Press Enter to quit')
|
||||
raise SystemExit(loop.return_code)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue