[GH-ISSUE #257] InputRenderable: cannot disable cursor blink #68

Closed
opened 2026-03-02 23:44:19 +03:00 by kerem · 2 comments
Owner

Originally created by @cwegener on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/257

  • InputRenderable forces a hard-coded cursor shape of "Blinking Block":

github.com/sst/opentui@22b4886752/packages/core/src/renderables/Input.ts (L101)

and the shape is not configurable.

This causes a problem: 1

One of the most famous methods of torture is Chinese water torture. In this torture a tied person is placed under a bucket filled with water with a tiny hole in the bottom. Water is slowly dripped on to a person's forehead, eventually driving the victim insane.

Software development is not an easy task, and often after a painful process of writing a program developers feel they should share their pains with users, so they put a part of own sufferings onto the shoulders of users in a method similar to the Chinese water torture - blinking cursors.

Fortunately, programmers are not insensitive torturers, and sometimes they provide an option in their programs to turn blinking cursers off. Often these options are not documented, and are not easily accessible, but many users can't stand the blinking cursor for a long time, because blinking cursors are very distracting.

Application developers who use opentui should be able to give their application users the option to disable cursor blinking.

Originally created by @cwegener on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/257 - `InputRenderable` forces a hard-coded cursor shape of "Blinking Block": https://github.com/sst/opentui/blob/22b48867528e41e004592e215cdda2467cf4adb2/packages/core/src/renderables/Input.ts#L101 and the shape is not configurable. This causes a problem: [^1] > One of the most famous methods of torture is [Chinese water torture](https://en.wikipedia.org/wiki/Chinese_water_torture). In this torture a tied person is placed under a bucket filled with water with a tiny hole in the bottom. Water is slowly dripped on to a person's forehead, eventually driving the victim insane. > Software development is not an easy task, and often after a painful process of writing a program developers feel they should share their pains with users, so they put a part of own sufferings onto the shoulders of users in a method similar to the Chinese water torture - blinking cursors. > Fortunately, programmers are not insensitive torturers, and sometimes they provide an option in their programs to turn blinking cursers off. Often these options are not documented, and are not easily accessible, but many users can't stand the blinking cursor for a long time, because blinking cursors are very distracting. Application developers who use `opentui` should be able to give their application users the option to disable cursor blinking. [^1]: [https://jurta.org/en/prog/noblink](https://jurta.org/en/prog/noblink)
kerem closed this issue 2026-03-02 23:44:19 +03:00
Author
Owner

@kommander commented on GitHub (Nov 3, 2025):

lol, yeah makes sense.

<!-- gh-comment-id:3479535597 --> @kommander commented on GitHub (Nov 3, 2025): lol, yeah makes sense.
Author
Owner

@kommander commented on GitHub (Nov 3, 2025):

Btw. the InputRenderable will probably be deprecated in favor of the Textarea.

<!-- gh-comment-id:3479691760 --> @kommander commented on GitHub (Nov 3, 2025): Btw. the InputRenderable will probably be deprecated in favor of the Textarea.
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/opentui#68
No description provided.