Cleaner parsing

This commit is contained in:
Manuel Ebert 2013-12-20 21:11:47 +01:00
parent e4bc0794f1
commit ca6b16a5a1
2 changed files with 8 additions and 16 deletions

View file

@ -148,11 +148,10 @@ def run(manual_args=None):
else:
journal = Journal.Journal(journal_name, **config)
# How to quit writing?
if "win32" in sys.platform:
# for Windows systems
_exit_multiline_code = "on a blank line, press Ctrl+Z and then Enter"
else:
# for *nix systems (and others?)
_exit_multiline_code = "press Ctrl+D"
if mode_compose and not args.text: