print_prompt Subroutine

private impure elemental subroutine print_prompt(this)

Uses

    • face
  • proc~~print_prompt~2~~UsesGraph proc~print_prompt~2 foropenai_ImageGeneration::ImageGeneration%print_prompt face face proc~print_prompt~2->face

Type Bound

ImageGeneration

Arguments

Type IntentOptional Attributes Name
class(ImageGeneration), intent(in) :: this

Calls

proc~~print_prompt~2~~CallsGraph proc~print_prompt~2 foropenai_ImageGeneration::ImageGeneration%print_prompt colorize colorize proc~print_prompt~2->colorize

Called by

proc~~print_prompt~2~~CalledByGraph proc~print_prompt~2 foropenai_ImageGeneration::ImageGeneration%print_prompt program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~print_prompt~2

Source Code

   elemental impure subroutine print_prompt(this)
      use face, only: colorize
      class(ImageGeneration), intent(in) :: this
      print "(A,': ',A)", colorize(trim(this%user_name), color_bg='green'), trim(this%prompt)
   end subroutine print_prompt