Sha256: ae63cd8e1ae44d3acbc1b6c32aba2ca75048b117906cdeeffd4fc5436772b128

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

# frozen_string_literal: true

module RubyJard
  module Screens
    class BreakpointsScreen < RubyJard::Screen
      def draw
        @output.print TTY::Box.frame(
          **default_frame_styles.merge(
            top: @row, left: @col, width: @layout.width, height: @layout.height
          )
        )

        @output.print TTY::Cursor.move_to(@col + 2, @row)
        @output.print decorate_text
          .with_highlight(true)
          .text(' Breakpoints ', :bright_yellow)
          .content
      end
    end
  end
end

RubyJard::Screens.add_screen(:breakpoints, RubyJard::Screens::BreakpointsScreen)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_jard-0.1.0 lib/ruby_jard/screens/breakpoints_screen.rb