• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

oga's tools


Commit MetaInfo

Revision2b80abcdeb00aad07aa265bd434df3975aadbb9a (tree)
Time2024-12-10 04:54:07
Authorhyperoga <hyperoga@gmai...>
Commiterhyperoga

Log Message

add color() func

Change Summary

Incremental Difference

--- a/cur.h
+++ b/cur.h
@@ -1,7 +1,11 @@
11 #define cls() printf("")
22 #define locate(x,y) printf("[%d;%dH",y,x)
33
4+/* c = 0-7 */
5+#define color(c) printf("[%dm", c+30)
6+
47
58 /* for X68K */
69 #define CUR_ON B_CURON()
710 #define CUR_OFF B_CUROFF()
11+