File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,14 @@ INSTALLATION
36
36
Building and installing from source:
37
37
38
38
git clone https://github.com/mcpcpc/kirc.git
39
- cd kirc
40
- make
41
- make install
39
+ tcd kirc
40
+ make
41
+ make install
42
+
43
+ Building and installing using KISS Linux Community repository [2]:
44
+
45
+ kiss b kirc
46
+ kiss i kirc
42
47
43
48
44
49
USAGE
@@ -77,3 +82,4 @@ REFERENCES
77
82
78
83
[0] https://tools.ietf.org/html/rfc2812
79
84
[1] https://en.wikipedia.org/wiki/ANSI_escape_code
85
+ [2] https://github.com/kisslinux/community
Original file line number Diff line number Diff line change @@ -200,7 +200,10 @@ main(int argc, char **argv) {
200
200
pars (sl , sbuf );
201
201
if (read (fd [0 ], u , cmax ) > 0 ) {
202
202
for (i = 0 ; u [i ] != '\n' ; i ++ ) continue ;
203
- if (u [0 ] != ':' ) raw ("%-*.*s\r\n" , i , i , u );
203
+ if (u [0 ] != ':' ) {
204
+ raw ("%-*.*s\r\n" , i , i , u );
205
+ printf ("\x1b[1A\x1b[K\x1b[36m%-*.*s\x1b[0m\n" , i , i , u );
206
+ }
204
207
}
205
208
}
206
209
printf ("%*s \x1b[31mpress <RETURN> key to quit...\x1b[0m" , gutl , " " );
You can’t perform that action at this time.
0 commit comments