• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修订版33c5591155370ae5840aa24456d9d0d08345c5bb (tree)
时间2016-12-09 15:55:08
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: avoid virtual console be set blanked

更改概述

差异

--- a/init/init.cpp
+++ b/init/init.cpp
@@ -365,8 +365,8 @@ static int console_init_action(const std::vector<std::string>& args)
365365
366366 fd = open("/dev/tty0", O_WRONLY | O_CLOEXEC);
367367 if (fd >= 0) {
368- const char *msg;
369- msg = "\n"
368+ const char *msg =
369+ "\033[9;0]\n"
370370 "\n"
371371 "\n"
372372 "\n"