dynamic_menu_force_enter option added. see #130
This commit is contained in:
parent
1f53f27736
commit
b942b2bf85
3 changed files with 20 additions and 0 deletions
|
|
@ -554,5 +554,13 @@
|
|||
"SearchPrompt": {
|
||||
"message": "Search a prompt",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_dynamic_menu_force_enter": {
|
||||
"message": "Menu: immediate prompt send",
|
||||
"description": ""
|
||||
},
|
||||
"prefs_OptionText_dynamic_menu_force_enter_info": {
|
||||
"message": "If checked, using the keyboard shortcut CTRL+ALT+A will automatically send the hightlighted prompt from the menu. Otherwise, the prompt name will be displayed to the user, requiring another press of the Enter key to send it.",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
|
@ -29,4 +29,5 @@ export const prefs_default = {
|
|||
openai_comp_host: '', // For OpenAI Compatible API as LM-Studio
|
||||
openai_comp_model: '',
|
||||
openai_comp_chat_name: 'OpenAI Comp',
|
||||
dynamic_menu_force_enter: false,
|
||||
}
|
||||
|
|
@ -59,6 +59,17 @@
|
|||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label>
|
||||
<span>__MSG_prefs_OptionText_dynamic_menu_force_enter__</span>
|
||||
</label></td>
|
||||
<td>
|
||||
<label>
|
||||
<input type="checkbox" id="dynamic_menu_force_enter" name="dynamic_menu_force_enter" class="option-input" />
|
||||
<span>__MSG_prefs_OptionText_dynamic_menu_force_enter_info__</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue