Skip to content

Commit 2eff592

Browse files
更新文档和 TODO
1 parent 028ee89 commit 2eff592

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
目前主要的支持系统是 Linux,至于 Windows 构建相关的事情写在这里:[#Sorry for Windows version](#sorry-for-windows-version)\
2121
关于构建系统的更多信息写在 [#Build system](#build-system) 章节。\
22-
另外,Windows 的工作流是手动的,所以没有实时的 CI 构建
22+
都去用 WSL 吧!!!(发疯)(难受)(这也不是什么好玩的游戏,无所谓了...)(这点事情真的很浪费心情的,我受不了了... 抱歉)(Microsoft Windows 与终端八字不合...)\
23+
唉,人是要开始学新东西才会有长进的吧。等等未来的我回来修吧(苦笑)
2324

2425
嘛,下次开始这样的项目会是在什么时候呢。\
2526
希望你我都能找到适合自己的未来
@@ -91,6 +92,7 @@ The problem is MinGW looked like don't allow me to set this: `setlocale(LC_ALL,
9192

9293
## Todo
9394

95+
- Recreate windows with the correct size, when resizing the terminal.
9496
- The full system uses `char` now, maybe we can change it to `wchat_t`?
9597

9698
## License

source/window.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ WINDOW *WindowDirectlyAvailable(WINDOW *win, struct WindowAttribute *attr)
3232
return NULL;
3333
}
3434

35+
/*
36+
TODO It's just a idea, it doesn't have the window size and offset
37+
*/
3538
WINDOW *WindowDetailCreate(struct WarmRuntime *runtime, WINDOW *parent_win, struct WindowAttribute *attr,
3639
float size_percent_y, float size_percent_x)
3740
{

source/window.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ struct WindowAttribute {
3131
int ver_offset;
3232
};
3333

34+
/*
35+
TODO I want to record all the windows and recreate them when the terminal has been resized
36+
*/
3437
struct WindowRecordNode {
3538
WINDOW *win;
3639
struct WindowAttribute attr;

0 commit comments

Comments
 (0)