posit-dev / posit-dev/ggsql

Drawing in "colored text mode" - for use in TUIs

Open
#343 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

writer
Dominant language
Rust
Stars
554
Forks
30
Avg merge
17h 27m
Merged PRs (30d)
8

Description

In this era where TUIs are getting a revival, I wonder if ggsql can / could / should support hooking into the rendering to support output compact text plots suitable for display in terminals, ie compact unicode output using ansi escapes, braille and unicode drawing chars for monospaced terminal like output formats (render to a string).

For example ansi-escaped and colored output such as shown at https://incom-0.github.io/incplot/. There are many other text plot libraries out there I suppose, just mentioning https://github.com/InCom-0/incplot as one example.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing ggsql's existing rendering path and how it could expose a string-producing output format. Read the linked incplot example for the proposed ANSI, braille, and Unicode terminal output. Done means the project has an agreed design and supports compact colored text plots rendered to a string.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.