Masahiro Yamada 93487b17b1 kconfig: nconf: refactor attributes setup code
The current attributes setup code is strange; the array attribute[]
is set to values outside the range of the attribute_t enum.

At least,

  attributes_t attributes[ATTR_MAX+1] = {0};

... should be

  int attribute[ATTR_MAX+1] = {0};

Also, there is no need to hard-code the color-pair numbers in
attributes_t.

The current code is messy. Rewrite it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2021-04-14 15:25:13 +09:00
..
2021-02-12 19:23:39 -06:00
2021-03-05 12:12:28 -08:00
2021-02-26 09:41:05 -08:00
2021-02-24 10:25:37 -08:00
2020-12-08 23:30:04 +09:00
2020-12-08 23:30:04 +09:00
2021-02-01 10:37:19 +09:00
2021-02-22 08:22:04 +09:00
2021-02-23 12:46:57 -08:00
2021-02-25 10:17:31 -08:00
2020-10-22 13:13:57 -07:00
2021-02-26 09:41:05 -08:00
2021-02-23 10:15:33 -08:00
2020-12-08 23:30:04 +09:00
2021-01-27 14:50:12 +01:00
2021-02-01 17:17:14 -07:00
2020-12-08 23:30:04 +09:00