Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/console-tools/resize.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/console-tools/resize.c
r2725 r3232 8 8 */ 9 9 /* no options, no getopt */ 10 11 //usage:#define resize_trivial_usage 12 //usage: "" 13 //usage:#define resize_full_usage "\n\n" 14 //usage: "Resize the screen" 15 10 16 #include "libbb.h" 11 17 … … 54 60 fprintf(stderr, ESC"7" ESC"[r" ESC"[999;999H" ESC"[6n"); 55 61 alarm(3); /* Just in case terminal won't answer */ 62 //BUG: death by signal won't restore termios 56 63 scanf(ESC"[%hu;%huR", &w.ws_row, &w.ws_col); 57 64 fprintf(stderr, ESC"8");
Note:
See TracChangeset
for help on using the changeset viewer.