fix no response of Delete key
This commit is contained in:
@@ -136,7 +136,7 @@ namespace drawerbase {
|
||||
|
||||
void drawer::key_press(graph_reference, const arg_keyboard& arg)
|
||||
{
|
||||
if(editor_->move(arg.key))
|
||||
if(editor_->respone_key(arg.key))
|
||||
{
|
||||
editor_->reset_caret();
|
||||
API::lazy_refresh();
|
||||
@@ -145,7 +145,7 @@ namespace drawerbase {
|
||||
|
||||
void drawer::key_char(graph_reference, const arg_keyboard& arg)
|
||||
{
|
||||
if (editor_->respone_keyboard(arg.key))
|
||||
if (editor_->respone_char(arg.key))
|
||||
API::lazy_refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user