make the ptext_prompt func can define which keyboard to enter (#2608)

* _

* format

* use define
This commit is contained in:
sommermorgentraum 2025-04-04 21:41:12 +08:00 committed by GitHub
parent 4162820409
commit 1377516dce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 50 additions and 19 deletions

View file

@ -617,6 +617,7 @@ void TextEditorView::show_edit_line() {
edit_line_buffer_,
viewer.col(),
max_edit_length,
ENTER_KEYBOARD_MODE_ALPHA,
[this](std::string& buffer) {
auto range = file_->line_range(viewer.line());
if (!range)