Patch shell cursor (#59)

* 调整代码减少bug

* 修复换行光标bug

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
DaJiYuQia
2022-10-18 20:38:34 +08:00
committed by GitHub
parent 173c988d5d
commit a9c5b3e45c
3 changed files with 37 additions and 15 deletions

View File

@ -398,7 +398,6 @@ uint64_t do_open(const char *filename, int flags)
// 寻找文件
struct vfs_dir_entry_t *dentry = vfs_path_walk(path, 0);
if (dentry == NULL && flags & O_CREAT)
{
// 先找到倒数第二级目录