improve text edit

This commit is contained in:
lixianjing 2021-11-03 13:52:08 +08:00
parent 50bb35ee53
commit 54973fa625
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
2021/11/03
* 增加fs\_foreach\_file
* 修复在linux和mac平台大键盘上的特殊字符@#¥无法输入到mledit问题感谢兆坤提供补丁
* 修复在linuxfb平台mledit下按capslock键会输入字符的问题感谢兆坤提供补丁
2021/11/02
* 增加tk\_str\_end\_with

View File

@ -1228,7 +1228,6 @@ ret_t text_edit_key_down(text_edit_t* text_edit, key_event_t* evt) {
case TK_KEY_KP_PLUS:
case TK_KEY_KP_PERIOD:
case TK_KEY_NUMLOCKCLEAR:
case TK_KEY_CAPSLOCK:
case TK_KEY_KP_0:
case TK_KEY_KP_1:
case TK_KEY_KP_2:
@ -1335,6 +1334,7 @@ ret_t text_edit_key_down(text_edit_t* text_edit, key_event_t* evt) {
case TK_KEY_RCTRL:
case TK_KEY_LALT:
case TK_KEY_RALT:
case TK_KEY_CAPSLOCK:
case TK_KEY_COMMAND:
case TK_KEY_MENU:
case TK_KEY_WHEEL: {