system/corennnnn
修订版 | 33c5591155370ae5840aa24456d9d0d08345c5bb (tree) |
---|---|
时间 | 2016-12-09 15:55:08 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init: avoid virtual console be set blanked
@@ -365,8 +365,8 @@ static int console_init_action(const std::vector<std::string>& args) | ||
365 | 365 | |
366 | 366 | fd = open("/dev/tty0", O_WRONLY | O_CLOEXEC); |
367 | 367 | if (fd >= 0) { |
368 | - const char *msg; | |
369 | - msg = "\n" | |
368 | + const char *msg = | |
369 | + "\033[9;0]\n" | |
370 | 370 | "\n" |
371 | 371 | "\n" |
372 | 372 | "\n" |