[GH-ISSUE #917] How to do scrolling text status #667

Closed
opened 2026-03-04 01:06:54 +03:00 by kerem · 2 comments
Owner

Originally created by @rhugga on GitHub (Nov 16, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/917

I'm trying to determine if this is the correct library for me. I have an interactive automation tool that manages large software defined storage platforms like ceph, etc...

One of the modes loops thru a list of hosts and does various maintenance tasks serially. I want to output each host's status as it occurs on the tty.

Basically I'll be appending to the tty.
Something like this: (sorry github is munging the formatting)

processing host1                               SUCCESS
processing host2                               ERROR
processing host3        upgrading kernel       PENDING

So while host3 is processing, it updates the current task it is doing:

processing host1                                 SUCCESS
processing host2                                 ERROR
processing host3        applying firmware        PENDING

Is this possible with this library?

Originally created by @rhugga on GitHub (Nov 16, 2023). Original GitHub issue: https://github.com/rivo/tview/issues/917 I'm trying to determine if this is the correct library for me. I have an interactive automation tool that manages large software defined storage platforms like ceph, etc... One of the modes loops thru a list of hosts and does various maintenance tasks serially. I want to output each host's status as it occurs on the tty. Basically I'll be appending to the tty. Something like this: (sorry github is munging the formatting) ```text processing host1 SUCCESS processing host2 ERROR processing host3 upgrading kernel PENDING ``` So while host3 is processing, it updates the current task it is doing: ```text processing host1 SUCCESS processing host2 ERROR processing host3 applying firmware PENDING ``` Is this possible with this library?
kerem closed this issue 2026-03-04 01:06:55 +03:00
Author
Owner

@theaog commented on GitHub (Jan 10, 2024):

use tview.NewList() and in the app.QueueUpdateDraw() function use InsertItem()

<!-- gh-comment-id:1884264539 --> @theaog commented on GitHub (Jan 10, 2024): use `tview.NewList()` and in the `app.QueueUpdateDraw()` function use `InsertItem()`
Author
Owner

@rivo commented on GitHub (Apr 4, 2024):

I assume this is resolved as there haven't been any further responses by OP.

<!-- gh-comment-id:2037648845 --> @rivo commented on GitHub (Apr 4, 2024): I assume this is resolved as there haven't been any further responses by OP.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#667
No description provided.