1/DivergentClouds/zig-spork v0.1

A fork of the zig-spoon tui library


zig-spork

zig-spork is a zig library offering a simple, low-level and allocation free abstraction for creating TUI programs. zig-spork takes care of wrangling the terminal, but unlike other TUI libraries it does not get in the way when you want to render the interface.

zig-spork supports the kitty keyboard protocol.

The text attribute code can be used independently, so zig-spork is also useful for non-TUI terminal programs that still want fancy text.

    
  /|||\
 | ||| |
  \ - /
   | |
   | |
   | |
   | |
   (_)

License

zig-spork is licensed under version 2.0 of the MPL.

zig-spork is based on a pre-GPL commit of https://git.sr.ht/~leon_plickat/zig-spoon.

The code of the exmaple programs in example/ are released into the public domain.

Package Contents

  • example/menu.zig
  • example/input-demo.zig
  • example/colours.zig
  • example/table-256-colours.zig
  • .gitattributes
  • LICENSE
  • build.zig
  • zigmod.yml
  • lib/input.zig
  • lib/colour_description.zig
  • lib/Attribute.zig
  • lib/input_description.zig
  • lib/Term.zig
  • lib/spells.zig
  • lib/restricted_padding_writer.zig
  • test_main.zig
  • README.md
  • import.zig
  • .gitignore

History

Published On Tree @ Commit Size
v0.2 Tue, 20 Dec 2022 15:04:24 UTC Tree 94.002 KB
v0.1 Sat, 08 Oct 2022 20:54:43 UTC Tree 93.997 KB