📄 main.cpp
字号:
/* * This source code is a part of coLinux source package. * * Dan Aloni <da-x@gmx.net>, 2003 (c) * * The code is licensed under the GPL. See the COPYING file at * the root directory. * */ #include "console.h"static console_window_t *global_window = 0;void co_user_console_handle_scancode(co_scan_code_t sc){ if (!global_window) return; global_window->handle_scancode(sc);}int co_user_console_main(int argc, char **argv) { co_rc_t rc; console_window_t window; int ret; global_window = &window; co_debug_start(); rc = window.parse_args(argc, argv); if (!CO_OK(rc)) { co_debug("Error %08x parsing parameters", (int)rc); ret = -1; goto out; } rc = window.start(); if (!CO_OK(rc)) { co_debug("Error %08x starting console", (int)rc); ret = -1; goto out; } ret = Fl::run();out: co_debug_end(); return ret;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -