Seems there are problems with prompt on the same line (sometimes)

May well have to do with changes to my environment, but I'm not dealing w/that now
This commit is contained in:
Chris (wolcen) Thompson 2024-11-19 13:31:34 -05:00
parent f908389c40
commit e8f7adc355

View file

@ -34,7 +34,7 @@ def pomodoro_prompt_plan(whatdid = ''):
if GUI: if GUI:
whatnext = prompt_window.prompt(prompt=text, task=whatdid) whatnext = prompt_window.prompt(prompt=text, task=whatdid)
else: else:
whatnext = session.prompt(message = text, whatnext = session.prompt(message = text + '\n',
default = whatdid or '', default = whatdid or '',
vi_mode = True, vi_mode = True,
completer = words, completer = words,
@ -51,7 +51,7 @@ def pomodoro_prompt_report(whatnext):
if GUI: if GUI:
whatdid = prompt_window.prompt(prompt=text, task=whatnext) whatdid = prompt_window.prompt(prompt=text, task=whatnext)
else: else:
whatdid = session.prompt(message = text, whatdid = session.prompt(message = text + '\n',
default = whatnext or '', default = whatnext or '',
vi_mode = True, vi_mode = True,
completer = words, completer = words,