Ki is a small text editor in less than 1K lines of code (counted with cloc).
ki是一个带有语法高亮的终端编辑器,支持C/C++语法高亮。原项目:https://github.com/antirez/kilo (Jul 5, 2020)
A screencast is available here/演示视频: https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb
Usage/使用方法 : ki <filename>
Keys/快捷键 :
CTRL-S: Save
CTRL-Q: Quit
CTRL-F: Find string in file (Enter to exit search, arrows/TAB to navigate)
RT-Thread online packages --->
miscellaneous packages --->
[*] ki: a small text editor in less than 1K lines of code
此外,程序中用到了time函数,需要开启RTC设备框架。
Meco Man