mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 22:16:13 +02:00
Cleaner parsing
This commit is contained in:
parent
e4bc0794f1
commit
ca6b16a5a1
2 changed files with 8 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue