parent
9d8c9777a4
commit
20b0eadfc8
|
@ -866,7 +866,8 @@ void regex_prompt(Context& context, String prompt, char reg, T func)
|
|||
RegisterManager::instance()[reg].set(context, str.str());
|
||||
break;
|
||||
case PromptEvent::Validate:
|
||||
RegisterManager::instance()[reg].set(context, str.str());
|
||||
if (not str.empty())
|
||||
RegisterManager::instance()[reg].set(context, str.str());
|
||||
context.push_jump();
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
abab
|
|
@ -0,0 +1 @@
|
|||
a a
|
|
@ -0,0 +1,7 @@
|
|||
ui_out -ignore 7
|
||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "xsa<ret>" ] }'
|
||||
ui_out -ignore 6
|
||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "xs<ret>" ] }'
|
||||
ui_out -ignore 5
|
||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "xs<ret>" ] }'
|
||||
ui_out -ignore 5
|
Loading…
Reference in New Issue
Block a user