@@ -416,7 +416,7 @@ const SMALL_SCREEN_WELCOME_TEXT: &str = color_print::cstr! {"<em>Welcome to <cya
416
416
const RESUME_TEXT : & str = color_print:: cstr! { "<em>Picking up where we left off...</em>" } ;
417
417
418
418
// Only show the model-related tip for now to make users aware of this feature.
419
- const ROTATING_TIPS : [ & str ; 2 ] = [
419
+ const ROTATING_TIPS : [ & str ; 3 ] = [
420
420
// color_print::cstr! {"You can resume the last conversation from your current directory by launching with
421
421
// <green!>q chat --resume</green!>"}, color_print::cstr! {"Get notified whenever Q CLI finishes responding.
422
422
// Just run <green!>q settings chat.enableNotifications true</green!>"}, color_print::cstr! {"You can use
@@ -437,6 +437,7 @@ const ROTATING_TIPS: [&str; 2] = [
437
437
// warnings or errors associated with <green!>/mcp</green!>"},
438
438
color_print:: cstr! { "Use <green!>/model</green!> to select the model to use for this conversation" } ,
439
439
color_print:: cstr! { "Set a default model by running <green!>q settings chat.defaultModel MODEL</green!>. Run <green!>/model</green!> to learn more." } ,
440
+ color_print:: cstr! { "Run <green!>/prompts</green!> to learn how to build & run repeatable workflows" } ,
440
441
] ;
441
442
442
443
pub struct ModelOption {
@@ -2856,6 +2857,21 @@ impl ChatContext {
2856
2857
optimal_case
2857
2858
}
2858
2859
} ;
2860
+ // Add usage guidance at the top
2861
+ queue ! (
2862
+ self . output,
2863
+ style:: Print ( "\n " ) ,
2864
+ style:: SetAttribute ( Attribute :: Bold ) ,
2865
+ style:: Print ( "Usage: " ) ,
2866
+ style:: SetAttribute ( Attribute :: Reset ) ,
2867
+ style:: Print ( "You can use a prompt by typing " ) ,
2868
+ style:: SetAttribute ( Attribute :: Bold ) ,
2869
+ style:: SetForegroundColor ( Color :: Green ) ,
2870
+ style:: Print ( "'@<prompt name> [...args]'" ) ,
2871
+ style:: SetForegroundColor ( Color :: Reset ) ,
2872
+ style:: SetAttribute ( Attribute :: Reset ) ,
2873
+ style:: Print ( "\n \n " ) ,
2874
+ ) ?;
2859
2875
queue ! (
2860
2876
self . output,
2861
2877
style:: Print ( "\n " ) ,
0 commit comments