Giter VIP home page Giter VIP logo

Comments (7)

modood avatar modood commented on August 20, 2024

@sunnyregion 可以详细描述一下吗,方便的话截个图

from table.

sunnyregion avatar sunnyregion commented on August 20, 2024

就是你的源代码copy运行,就会多出一列,我自己的程序是有几列就额外多出几列。

from table.

sunnyregion avatar sunnyregion commented on August 20, 2024

1
2

from table.

sunnyregion avatar sunnyregion commented on August 20, 2024

3

from table.

modood avatar modood commented on August 20, 2024

知道原因了,不是多了一列,是制表符宽度太大,导致每列之间的分隔竖线看起来都往左边凹进去了。因为字体或个人电脑设置的原因,制表符在 Windows 上显示的时候宽度无法控制。本项目后续版本可能会对此有所优化。

from table.

modood avatar modood commented on August 20, 2024

最新提交(59e3)新增了两个 API:

func OutputA(slice interface{})
func AsciiTable(slice interface{}) string

使用标准的 ascii 字符绘制表格,而不使用制表符。可以避免制表符宽度不一致引起的问题。
更多详情请查看 README.md

from table.

sunnyregion avatar sunnyregion commented on August 20, 2024

谢谢,解决的很圆满。well done

from table.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.