Parent Directory
|
Revision Log
|
Patch
| Revision 1.1 by sysadm, Fri Oct 22 15:21:28 2004 UTC | Revision 1.3 by sysadm, Fri Oct 22 19:15:49 2004 UTC | |
|---|---|---|
| # | Line 28 moveto (int row, int col) | Line 28 moveto (int row, int col) |
| 28 | { | { |
| 29 | prints ("\r"); | prints ("\r"); |
| 30 | } | } |
| 31 | iflush(); | |
| 32 | } | } |
| 33 | ||
| 34 | void | void |
| 35 | clrtoeol () | clrtoeol () |
| 36 | { | { |
| 37 | prints ("\033[K"); | prints ("\033[K"); |
| 38 | iflush(); | |
| 39 | } | |
| 40 | ||
| 41 | void | |
| 42 | clearscr() | |
| 43 | { | |
| 44 | prints ("\33[2J"); | |
| 45 | moveto (0,0); | |
| 46 | iflush(); | |
| 47 | } | } |
| 48 | ||
| 49 | int | int |
| # | Line 127 show_bottom() | Line 137 show_bottom() |
| 137 | { | { |
| 138 | return 0; | return 0; |
| 139 | } | } |
| 140 | ||
| 141 | int | |
| 142 | press_any_key() | |
| 143 | { | |
| 144 | prints (" \033[1;33m°´ÈÎÒâ¼üÅ̼ÌÐø...\033[0;37m"); | |
| 145 | iflush(); | |
| 146 | ||
| 147 | return igetch (); | |
| 148 | } |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |