[GH-ISSUE #856] cursor displayed as q #623

Closed
opened 2026-03-04 01:06:32 +03:00 by kerem · 1 comment
Owner

Originally created by @schieberegister on GitHub (Jun 5, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/856

Hi :),

I am trying to use a tview generated form on our Debian 9 legacy systems (default tty-terminal). Functionally, it works perfect.
Optically, I am encountering a problem with the cursor and whitespace areas, which are somehow displayed as the letter q.

To rule out problems in my code, I tried the forms demo, which displays the same behavior as seen below.

image

Can you please help me or have any suggestions on how to further debug this?

Thank you very much.

Originally created by @schieberegister on GitHub (Jun 5, 2023). Original GitHub issue: https://github.com/rivo/tview/issues/856 Hi :), I am trying to use a tview generated form on our Debian 9 legacy systems (default tty-terminal). Functionally, it works perfect. Optically, I am encountering a problem with the cursor and whitespace areas, which are somehow displayed as the letter q. To rule out problems in my code, I tried the forms demo, which displays the same behavior as seen below. ![image](https://github.com/rivo/tview/assets/39745590/130d9642-6db0-45e2-9e07-9691ace597c8) Can you please help me or have any suggestions on how to further debug this? Thank you very much.
kerem closed this issue 2026-03-04 01:06:33 +03:00
Author
Owner

@schieberegister commented on GitHub (Jun 6, 2023):

Hi guys,

The issue mentioned above somehow revolves around how the terminfo/cursor (LookupTerminfo) is handled in newer versions of tview and tcell. As we don't use newer features of both packages, I was able to fix it by appending the below lines to the go.mod file of my project to downgrade to previous versions.

replace github.com/rivo/tview v0.0.0-20230325211341-281d14d896d7 => github.com/rivo/tview v0.0.0-20221225105449-cdf60bc79fc9

replace github.com/gdamore/tcell/v2 v2.6.0 => github.com/gdamore/tcell/v2 v2.4.0

<!-- gh-comment-id:1578652253 --> @schieberegister commented on GitHub (Jun 6, 2023): Hi guys, The issue mentioned above somehow revolves around how the terminfo/cursor (LookupTerminfo) is handled in newer versions of tview and tcell. As we don't use newer features of both packages, I was able to fix it by appending the below lines to the go.mod file of my project to downgrade to previous versions. ```go replace github.com/rivo/tview v0.0.0-20230325211341-281d14d896d7 => github.com/rivo/tview v0.0.0-20221225105449-cdf60bc79fc9 replace github.com/gdamore/tcell/v2 v2.6.0 => github.com/gdamore/tcell/v2 v2.4.0 ```
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#623
No description provided.