commit b31716a3b82e35f4d4ea1ab4ed9875499245e8b1
parent d55e3fce891b991cacead4996cceb6c38f51d9b2
Author: Isak Lindhé <isak.e.lindhe@gmail.com>
Date: Sat, 13 Apr 2019 10:16:33 +0200
made space after prompt automatic, not specified in config
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/txtv/config.py b/txtv/config.py
@@ -6,7 +6,7 @@ CONFIG_DEFAULT_PATH = CONFIG_DIR / 'txtv.cfg'
CONFIG_DEFAULT_VALUES = {
'alias' : { },
'general' : {
- 'prompt': 'txtv> ',
+ 'prompt': 'txtv>',
},
'show': {
'svt_header': 'yes',
diff --git a/txtv/txtv.py b/txtv/txtv.py
@@ -100,7 +100,7 @@ def interactive(start_page: Page):
while True:
try:
prompt = cfg.get('general', 'prompt')
- raw = input(prompt or '> ').strip().lower()
+ raw = input(prompt + ' ').strip().lower()
if cfg:
raw = apply_aliases(raw, cfg)
if raw == '':