瀏覽代碼

Remove TODO about checking 256 colors support

After a brief research it seems like there is no reliable portable way
to check that. It all comes down to your terminal just interpreting
the escape codes that the program prints correctly.
rexim 2 年之前
父節點
當前提交
f4a85e1b8a
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      img2term.c

+ 1 - 3
img2term.c

@@ -605,9 +605,7 @@ char *shift_args(int *argc, char ***argv)
 
 int main(int argc, char **argv)
 {
-    // TODO: check if the terminal support 256 colors and stuff
-    // And throw an error if it doesn't
-    // (Also, maybe similar 16 colors support??)
+    // TODO: 16 colors support
     assert(argc > 0);
     const char *program = shift_args(&argc, &argv);