st0012 36ca0e58b6 [ruby/reline] Use color name instead of code (integer) in dialog color APIs
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actually a control sequence and not only for colors.

To make the dialog color APIs safer to use, we should restrict its
usages and extract away the bg/fg concept from the input.

So in this commit, I made these changes:

1. The dialog_*_bg/fg_color APIs only takes and returns color names (symbol):
  - :black
  - :red
  - :green
  - :yellow
  - :blue
  - :magenta
  - :cyan
  - :white
2. Add additional dialog_*_bg/fg_color_sequence APIs to access the raw code.

https://github.com/ruby/reline/commit/b32a977766
2022-07-16 02:30:23 +09:00
..
2021-12-18 08:38:58 +09:00
2022-06-06 18:13:01 +09:00
2021-12-09 19:48:22 +09:00
2022-01-12 21:16:01 +09:00
2022-06-16 21:43:53 +09:00
2022-07-13 14:11:55 +09:00
2022-03-17 10:11:38 +09:00
2022-01-03 22:33:38 +09:00
2021-12-24 23:20:30 +09:00
2022-02-10 17:18:05 +09:00
2022-04-01 00:18:36 +09:00
2021-12-20 12:44:31 +09:00
2022-05-16 23:43:04 +09:00
2022-07-14 16:26:47 +09:00
2022-04-22 11:59:54 +09:00