V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
a719114136

terminal_layout 命令行布局管理器 V2.0.0 发布

  •  
  •   a719114136 ·
    gojuukaze · Jun 10, 2020 · 1446 views
    This topic created in 2147 days ago, the information mentioned may be changed or developed.

    terminal_layout 是一个命令行布的局管理器,支持 Windows,Linux,OSX 。

    V2.0 更新内容

    • 增加自动刷新功能
    • 增加渐进显示字符的函数 delay_set_text()
    • find_view_by_id() 返回 ViewProxy,不再直接返回 view
    • 增加扩展 extensions
    • 增加按钮监听功能
    • 修复 python2 bug

    主要功能

    https://i.imgur.com/IUarLJv.gif

    扩展

    基于 terminal_layout 你可以在命令行中实现很多有意思的东西,比如 terminal_layout 的两个扩展

    • progress

    https://i.imgur.com/QHJ8PS2.gif

    • choice

    https://i.imgur.com/NqPndla.gif

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3407 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 115ms · UTC 12:20 · PVG 20:20 · LAX 05:20 · JFK 08:20
    ♥ Do have faith in what you're doing.