mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 02:57:52 +08:00
d52aa03764
Including the float64 data type in the prompt value stream causes an error. This causes those values to be implicitly converted to a string as happens everywhere else in Elvish. I initially intended to modify the code to do the implicit string coercion for any type not otherwise explicitly handled by the pkg/ui `Concat` methods. I decided against that approach because doing so doesn't make sense for some types that might appear in the value stream; e.g., Elvish exceptions. Fixes #1186 |
||
---|---|---|
.. | ||
color_test.go | ||
color.go | ||
key_test.go | ||
key.go | ||
parse_sgr_test.go | ||
parse_sgr.go | ||
style_test.go | ||
style.go | ||
styling_test.go | ||
styling.go | ||
text_segment_test.go | ||
text_segment.go | ||
text_test.go | ||
text_util_test.go | ||
text_util.go | ||
text.go | ||
ui.go |