コンソールベースの ToDo ソフトウェアの私的改良版
修订版 | 125cb85e44ea80f35a5a75238acdecfff7fc5441 (tree) |
---|---|
时间 | 2013-02-13 19:39:19 |
作者 | Takeshi Hamasaki <hmatrjp@user...> |
Commiter | Takeshi Hamasaki |
src/interface.cc : added a function to redraw screen by pressing Ctrl-L.
@@ -62,6 +62,10 @@ void Interface::main() | ||
62 | 62 | if (KEY_HOME == key) home(); |
63 | 63 | if (KEY_END == key) end(); |
64 | 64 | } |
65 | + else if (0xc == key) // Ctrl-L | |
66 | + { | |
67 | + resizeTerm(); | |
68 | + } | |
65 | 69 | else if (config.getAction(key, action)) |
66 | 70 | { |
67 | 71 | screen.infoClear(); |