mirror of
https://github.com/MeowLynxSea/ceditor.git
synced 2025-07-09 10:54:37 +00:00
修复了默认进入编辑模式的bug
This commit is contained in:
parent
dd4d35acc0
commit
e4267ec953
@ -50,6 +50,8 @@ int main(int argc, char* argv[]) {
|
|||||||
mainEditor.setRuleName(getRuleByFileName(argv[1]));
|
mainEditor.setRuleName(getRuleByFileName(argv[1]));
|
||||||
mainEditor.setContent(content, true);
|
mainEditor.setContent(content, true);
|
||||||
|
|
||||||
|
mainEditor.setFocus(false);
|
||||||
|
|
||||||
mainEditor.draw();
|
mainEditor.draw();
|
||||||
infoBar.draw();
|
infoBar.draw();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user