diff --git a/examples/common.h b/examples/common.h index 1aa763817e..8f99df7dd3 100644 --- a/examples/common.h +++ b/examples/common.h @@ -294,6 +294,26 @@ const std::vector k_colors = { set_xterm256_foreground( 78, 178, 101), }; +// ANSI formatting codes +static std::string set_inverse() { + return "\033[7m"; +} + +static std::string set_underline() { + return "\033[4m"; +} + +static std::string set_dim() { + return "\033[2m"; +} + +// Style scheme for different confidence levels +const std::vector k_styles = { + set_inverse(), // Low confidence - inverse (highlighted) + set_underline(), // Medium confidence - underlined + set_dim(), // High confidence - dim +}; + // // Other utils // diff --git a/scripts/sync-whisper.last b/scripts/sync-whisper.last index a418b306f0..019aaf73f3 100644 --- a/scripts/sync-whisper.last +++ b/scripts/sync-whisper.last @@ -1 +1 @@ -f89056057511a1657af90bb28ef3f21e5b1f33cd +62dc8f7d7b72ca8e75c57cd6a100712c631fa5d5