Class: TUI::Screens::Anthropic

Inherits:
Object
  • Object
show all
Defined in:
lib/tui/screens/anthropic.rb

Instance Method Summary collapse

Instance Method Details

#render(frame, area, tui) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/tui/screens/anthropic.rb', line 6

def render(frame, area, tui)
  widget = tui.paragraph(
    text: "Anthropic account connection will be configured here.",
    alignment: :center,
    wrap: true,
    block: tui.block(
      title: "Anthropic Connection",
      titles: [
        {content: "Esc back", position: :bottom, alignment: :center}
      ],
      borders: [:all],
      border_type: :rounded,
      border_style: {fg: "magenta"}
    )
  )
  frame.render_widget(widget, area)
end