Submit Action mode action in Story mode if action is empty
This commit is contained in:
parent
9ab1d182ac
commit
af93c96c0f
|
@ -944,6 +944,7 @@ def actionsubmit(data, actionmode=0):
|
|||
if(actionmode == 1):
|
||||
data = data.strip().lstrip('>')
|
||||
data = re.sub(r'\n+', ' ', data)
|
||||
if(len(data)):
|
||||
data = f"\n\n> {data}\n"
|
||||
|
||||
# If we're not continuing, store a copy of the raw input
|
||||
|
|
Loading…
Reference in New Issue