mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 05:45:49 +03:00
[GH-ISSUE #1079] ANSI - VT510 -> DECDHL—Double-Width, Double-Height Line - support. #783
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#783
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matho53 on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/rivo/tview/issues/1079
I'm hoping to have the ability to use DECDHL, in a TUI application.
like this:
But every time i try, the escape sequence is ignored...
sample code:
See original vt510 documentation:-
https://manx-docs.org/collections/mds-199909/cd3/term/vt510rmb.pdf -> pg 5-37
I can replicate DECDHL in Go using these options:
*Note - Windows terminal released the feature in version v1.17.1023
See release notes and search for "DECDHL" -> https://github.com/microsoft/terminal/releases/tag/v1.17.1023
@rivo commented on GitHub (Mar 26, 2025):
That's not how
tview(or eventcell) works. Adding escape codes to aTextViewwill not have the intended effect.tviewdraws individual characters on the screen (usingtcell).\x1bwill just be treated like one such character. Because most fonts don't show anything for this character, it will just show up as an empty cell.You could contact the maintainer of https://github.com/gdamore/tcell if he wants to support this mode. But I would not get my hopes up.
@matho53 commented on GitHub (Mar 27, 2025):
Thanks Rivo,
I'll follow your direction re: gdamore/tcell.
I appreciate any time u took to look into, and your description makes perfect sense.
Also agree it might be a bit of an ask to get support for DECDHL :)
I'm trying my best to clone "The fugitive" TUI using tview... the hospital scene ~1:06 minutes in.
Getting close to replicating:
@rivo commented on GitHub (Mar 27, 2025):
To me, the screenshot doesn't look like an actual terminal application but rather like a photoshopped image shown on a CRT. The cells don't line up, the rows are unevenly distributed, and the highlighting doesn't look like any terminal would display it. From all I know about screen design in Hollywood, they don't usually program actual terminal software but use other visual design tools (e.g. Adobe After Effects).
There are a few blogs which collect these and try to figure out how they were done.
@matho53 commented on GitHub (Mar 28, 2025):
You could be onto something "after affects" was released in 93.. film was released in 93...
When i look at the footage it looks legit, but it could be just Hollywood.
https://github.com/user-attachments/assets/9664dc10-1136-4074-bb04-c046a00fe91d