diff options
author | joe <joe@FreeBSD.org> | 2000-06-05 03:51:29 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2000-06-05 03:51:29 +0000 |
commit | d65592899eb950dfecec6616ebeb08a77ce8fccd (patch) | |
tree | da43619f0b5ea8506d31a26bba4ec0ef41c564d9 /sys/kern/kern_module.c | |
parent | 243ad5208b2df8a252932d583baf6d4647a576a9 (diff) | |
download | FreeBSD-src-d65592899eb950dfecec6616ebeb08a77ce8fccd.zip FreeBSD-src-d65592899eb950dfecec6616ebeb08a77ce8fccd.tar.gz |
Don't look up the ANSI sequences each time a colour is changed,
this is extremely inefficient, instead write them all down at the
beginning.
The correct sequence to switch colours off is to first use 'op' if
it exists, otherwise use 'oc'. If neither of these exist then we
shouldn't be doing colour with this terminal.
Reviewed by: ache
Diffstat (limited to 'sys/kern/kern_module.c')
0 files changed, 0 insertions, 0 deletions