Set default linewrap to 79 globally

This commit is contained in:
William Minchin 2013-11-27 12:52:56 -07:00
parent 410a7a7094
commit 34acf9002f

View file

@ -31,12 +31,9 @@ default_config = {
'timeformat': "%Y-%m-%d %H:%M",
'tagsymbols': '@',
'highlight': True,
'linewrap': 80,
'linewrap': 79,
}
if "win32" in sys.platform:
default_config['linewrap'] = 79
def upgrade_config(config, config_path=os.path.expanduser("~/.jrnl_conf")):
"""Checks if there are keys missing in a given config dict, and if so, updates the config file accordingly.