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

未关闭
#343 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 6 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
rust

调研方向

首先检查 ggsql 现有的渲染路径,以及它如何提供一种生成字符串的输出格式。阅读链接的 incplot 示例,了解提议的 ANSI、braille 和 Unicode 终端输出。当项目拥有一套达成共识的设计,并支持将紧凑的彩色文本图渲染为字符串时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

writer

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.

主要语言
Rust
星标
575
派生
33
平均合并
7 天 18 小时
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

posit-dev/ggsql 的其他 Issue

查看 posit-dev/ggsql 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。