Reaktor sed-plugin: use mirc colorcodes
This commit is contained in:
commit
88a281c020
|
@ -37,6 +37,10 @@ with import <stockholm/lib>;
|
|||
default = self.config.systemd-service-name;
|
||||
type = types.str;
|
||||
};
|
||||
useTLS = mkOption {
|
||||
default = self.config.port == "6697";
|
||||
type = types.bool;
|
||||
};
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
|
@ -46,7 +46,7 @@ if is_regex(line):
|
|||
print('to many lines, skipped')
|
||||
else:
|
||||
if last.strip() != ret.strip():
|
||||
print("\x1b[1m{}\x1b[0m meant: {}".format(usr, ret.strip()))
|
||||
print("\x02{}\x02 meant: {}".format(usr, ret.strip()))
|
||||
if ret:
|
||||
d[usr] = ret
|
||||
|
||||
|
|
Loading…
Reference in a new issue