Skip to content

uulum/tuilang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TUILANG

Create a runnable Python code quickly for TUI Rich-based applications.

Sample code and output

Sample code

Create four rows with 2 columns each and with a portion of 1, 6, 2, 1 respectively.

Each row's two columns have a 3:7 width ratio.

<layout(
    <content(
        <row[fraction=1](
            <col[fraction=3]
            <col[fraction=7]
        )
        <row[fraction=6](
            <col
            <col
        )
        <row[fraction=2](
            <col
            <col
        )
        <row[fraction=1](
            <col
            <col
        )
    )
)

Screenshot output

alt text

About

Rich-based TUI language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages