Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support option to remove space line between each data row #14

Open
zvier opened this issue Nov 28, 2020 · 0 comments
Open

support option to remove space line between each data row #14

zvier opened this issue Nov 28, 2020 · 0 comments

Comments

@zvier
Copy link
Contributor

zvier commented Nov 28, 2020

When we use gotabulate 'Simple Table' in our container image build project isula-build to list images managerd by the daemon, the space line between each item is too sparse. This lead to a full screen page list fewer items as follows:

isula-build ctr-img images
----------------------------------------------  -----------  -----------------  ------------------------  ------------
 REPOSITORY                                      TAG          IMAGE ID           CREATED                   SIZE
----------------------------------------------  -----------  -----------------  ------------------------  ------------
 <none>                                          <none>       23e3d8bb12ff       2020-11-24 08:11:15       1.45 MB

 lzk                                             latest       f19434180a1c       2020-11-18 10:54:24       1.44 MB

 <none>                                          <none>       b6b74a847ff3       2020-11-18 10:54:19       1.44 MB
----------------------------------------------  -----------  -----------------  ------------------------  ------------

If there exist an option which can control remove those space line, more items can be display and I think also useful in other scenarios. The result in our project can be:

isula-build ctr-img images
----------------------------------------------  -----------  -----------------  ------------------------  ------------
 REPOSITORY                                      TAG          IMAGE ID           CREATED                   SIZE
----------------------------------------------  -----------  -----------------  ------------------------  ------------
 <none>                                          <none>       23e3d8bb12ff       2020-11-24 08:11:15       1.45 MB
 lzk                                             latest       f19434180a1c       2020-11-18 10:54:24       1.44 MB
 <none>                                          <none>       b6b74a847ff3       2020-11-18 10:54:19       1.44 MB
----------------------------------------------  -----------  -----------------  ------------------------  ------------

or

isula-build ctr-img images
+----------------------------------------------+-----------+-----------------+------------------------+------------+
| REPOSITORY                                   | TAG       | IMAGE ID        | CREATED                | SIZE       |
+==============================================+===========+=================+========================+============+
| <none>                                       | <none>    | 23e3d8bb12ff    | 2020-11-24 08:11:15    | 1.45 MB    |
| <none>                                       | <none>    | 71173ee82707    | 2020-11-24 08:09:43    | 1.44 MB    |
| <none>                                       | <none>    | 5d5db30060ff    | 2020-11-24 08:05:46    | 1.44 MB    |
| <none>                                       | <none>    | bde817fd2249    | 2020-11-20 11:56:34    | 1.44 MB    |
| <none>                                       | <none>    | 034e08b6cade    | 2020-11-20 11:53:06    | 1.44 MB    |
| lzk                                          | latest    | f19434180a1c    | 2020-11-18 10:54:24    | 1.44 MB    |
| <none>                                       | <none>    | b6b74a847ff3    | 2020-11-18 10:54:19    | 1.44 MB    |
| <none>                                       | <none>    | 174ad5b1cf49    | 2020-11-16 10:06:29    | 1.44 MB    |
| <none>                                       | <none>    | f28a219985c1    | 2020-11-16 08:20:17    | 1.44 MB    |
+----------------------------------------------+-----------+-----------------+------------------------+------------+

For above use it looks more reasonable. In the end, thanks for this project.

@zvier zvier changed the title control to remove space line when use 'Simple Table' support option to remove space line when use 'Simple Table' Nov 28, 2020
@zvier zvier changed the title support option to remove space line when use 'Simple Table' support option to remove space line between each data row Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant