Commit Graph
24 Commits
Author SHA1 Message Date
Harshavardhana e6d6375039 Collate isatty() code for bsd and linux 2015-05-16 18:27:05 -07:00
Harshavardhana 6d4a7c5e7b Add function isatty() to detect if Stdout for console is a terminal, if not disable coloring - fixes #631
Necessary when one has to pipe ``mc`` output to non terminal applications like ``less`` ``more`` etc.
2015-05-16 18:11:56 -07:00
Harshavardhana e4a77c7391 Change minio-io to minio 2015-05-11 16:24:26 -07:00
Harshavardhana 607d86e5c3 Add few more tests 2015-05-02 14:04:29 -07:00
Harshavardhana f914a059d3 Use console.Debugln instead of log.Debug.Println 2015-05-02 12:32:21 -07:00
Harshavardhana 744ed7dcd1 Bring old documentation back 2015-04-28 11:03:34 -07:00
Harshavardhana 62750317d4 Add proper retry() mechanisms and print that in Magenta color 2015-04-25 23:08:44 -07:00
Anand Babu (AB) Periasamy 409309442e fix scrolling progressbar bug 2015-04-24 12:01:28 -07:00
Anand Babu (AB) Periasamy 514b848d46 Console outputs Fatal, Error and Debug messages on os.stderr 2015-04-24 04:01:55 -07:00
Harshavardhana 17d0f05560 Print ls with special color for directories 2015-04-23 21:36:12 -07:00
Anand Babu (AB) Periasamy c09ce54090 console enhancements, consistent error message and janitor duty 2015-04-23 21:25:10 -07:00
Anand Babu (AB) Periasamy 94d89c2181 no color for win for now 2015-04-23 03:10:36 -07:00
Anand Babu (AB) Periasamy eb29760aec update console package and add additional nocolor check 2015-04-23 01:17:50 -07:00
Anand Babu (AB) Periasamy 16e8cec82a field specific color theme 2015-04-23 01:02:17 -07:00
Anand Babu (AB) Periasamy b923232e9f console theme improvements 2015-04-22 18:05:42 -07:00
Harshavardhana b42d3a3af7 Implement simple authkey and console tests 2015-04-21 01:14:28 -07:00
Harshavardhana af1cb1b478 Make sure to properly exit if requested theme not available, also re-structure console package a bit 2015-04-20 13:19:52 -07:00
Anand Babu (AB) Periasamy 040b15b240 disable console theme on Windows 2015-04-17 16:31:30 -07:00
Anand Babu (AB) Periasamy 90f853a00f Modern Copy to Mini Copy 2015-04-16 20:13:52 -07:00
Harshavardhana 0935573255 Prefix error messages with mc: part of #286 2015-04-16 15:53:33 -07:00
Harshavardhana 6bfb0b0b7c Simplify console further 2015-04-14 05:12:45 -07:00
Anand Babu (AB) Periasamy b0cae379fa console theme 2015-04-14 02:55:04 -07:00
Anand Babu (AB) Periasamy e7a2699ab2 minio client becomes modern copy 2015-04-11 17:11:38 -07:00
Harshavardhana ad35fe72d0 Move colors to console package, now implement colored
- Fatal, Fatalf, Fatalln
 - Error, Errorln
 - Info, Infof, Infoln
2015-04-10 01:14:47 -07:00