Module: Shellfie::ParserValidation

Included in:
Parser
Defined in:
lib/shellfie/parser_validation.rb

Constant Summary collapse

TOP_LEVEL_KEYS =
%i[
  version include theme window_theme color_scheme colors window_decoration title window font animation cursor lines frames
  headless limits
].freeze
WINDOW_KEYS =
%i[
  width padding opacity visible_lines max_lines max_height wrap overflow margin exact_size trim tab_width
  ansi_state background_gradient scroll_offset
].freeze
FONT_KEYS =
%i[family size line_height fallback_family italic_family emoji_family].freeze
ANIMATION_KEYS =
%i[
  typing_speed command_delay cursor_blink loop typing_jitter typing_chunk_size output_delay final_delay max_frames
  dither palette scroll_easing
].freeze
CURSOR_KEYS =
%i[style color].freeze
LIMIT_KEYS =
%i[max_lines max_frames max_render_frames max_characters max_pixels].freeze
LINE_KEYS =
%i[prompt command output prompt_color command_color output_color selected].freeze
FRAME_KEYS =
%i[prompt type output delay prompt_color command_color output_color].freeze