tinytools-vty

[ bsd3, graphics, library, program, tinytools ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/pdlla/tinytools-vty#readme


[Skip to Readme]

Modules

[Last Documentation]

  • Data
    • String
      • Unicode
        • Data.String.Unicode.Lookup
  • Potato
    • Flow
      • Potato.Flow.TutorialState
      • Vty
        • Potato.Flow.Vty.Alert
        • Potato.Flow.Vty.AppKbCmd
        • Potato.Flow.Vty.Attrs
        • Potato.Flow.Vty.Canvas
        • Potato.Flow.Vty.Common
        • Potato.Flow.Vty.Info
        • Potato.Flow.Vty.Input
        • Potato.Flow.Vty.Layer
        • Potato.Flow.Vty.Left
        • Potato.Flow.Vty.Main
        • Potato.Flow.Vty.OpenWindow
        • Potato.Flow.Vty.Params
        • Potato.Flow.Vty.PotatoReader
        • Potato.Flow.Vty.SaveAsWindow
        • Potato.Flow.Vty.ToolOptions
        • Potato.Flow.Vty.Tools
    • Reflex
      • Vty
        • Potato.Reflex.Vty.Helpers
        • Potato.Reflex.Vty.Host
        • Potato.Reflex.Vty.Widget
          • Potato.Reflex.Vty.Widget.FileExplorer
          • Potato.Reflex.Vty.Widget.Menu
          • Potato.Reflex.Vty.Widget.Popup
          • Potato.Reflex.Vty.Widget.ScrollBar
          • Potato.Reflex.Vty.Widget.TextInputHelpers
          • Potato.Reflex.Vty.Widget.Windows
  • Reflex
    • Vty
      • Test
        • Monad
          • Reflex.Vty.Test.Monad.Host
            • Reflex.Vty.Test.Monad.Host.TH

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.3, 0.1.0.4, 0.1.0.7
Change log ChangeLog.md
Dependencies aeson, aeson-pretty, ansi-terminal, base (>=4.7 && <5), bimap, bytestring, clock, constraints-extras, containers, data-default, dependent-map, dependent-sum, directory, extra, file-embed, filepath, http-conduit, ilist, lens, mtl, optparse-applicative, primitive, ref-tf, reflex (>=0.8 && <1), reflex-potatoes (>=0.1), reflex-test-host (>=0.1.2.2), reflex-vty, relude, semialign, template-haskell (>=2.18), text, these, time, tinytools (>=0.1), tinytools-vty, vty [details]
License BSD-3-Clause
Copyright 2020 Peter Lu
Author pdlla
Maintainer chippermonky@gmail.com
Home page https://github.com/pdlla/tinytools-vty#readme
Bug tracker https://github.com/pdlla/tinytools-vty/issues
Source repo head: git clone https://github.com/pdlla/tinytools-vty
Uploaded by pdlla at 2023-04-03T19:21:40Z
Distributions
Executables write-term-width, tinytools-vty-exe
Downloads 163 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2023-04-03 [all 2 reports]

Readme for tinytools-vty-0.1.0.0

[back to package description]

tinytools-vty

tinytools-vty is a mono-space unicode diagram editor written in Haskell. It is currently a WIP and expect to have an beta release SOON.

This repository contains the vty based view/controller implementation built on top of the tinytools model.

running

cabal run tinytools-vty-exe

you may need to install ICU depuendencies to get things to compile

enabling unicode widechar support

NOT WORKING, WILL CRASH RANDOMLY IF YOU USE UNICODE WIDE CHARS 😨 (this is due to bugs in TextZipper module that I still need to fix)

Unicode character display width seems to vary by terminal so you will need to generate a unicode width table file in order to enable support for unicode wide characters. You can run tinytools-vty with the --widthtable arg to generate the table to your local config directory for the current terminal. Generating the table samples each unicode character inside the terminal and takes a few seconds to run. Please see the Graphics.Vty.UnicodeWidthTable module of the vty for more info.