CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-asciimatics

A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations

81

1.32x
Overview
Eval results
Files

task.mdevals/scenario-6/

User Profile Viewer

A simple text-based user interface that displays user profile information in a formatted window.

Capabilities

Display user information in a window

  • The application displays a window with a border and the title "User Profile" at the top @test
  • The window contains a label showing "Name: John Doe" @test
  • The window contains a label showing "Email: john.doe@example.com" @test
  • The window can be displayed on a screen without errors @test

Implementation

@generates

API

def create_profile_frame(screen):
    """
    Creates and returns a Frame widget that displays user profile information.

    The frame should:
    - Have a border
    - Display the title "User Profile"
    - Contain labels showing name and email information

    Args:
        screen: The Screen object to render on

    Returns:
        A Frame object configured with user profile layout
    """
    pass

Dependencies { .dependencies }

asciimatics { .dependency }

Provides terminal UI components including Frame, Layout, and Label widgets.

Install with Tessl CLI

npx tessl i tessl/pypi-asciimatics

tile.json