Closed jtdaugherty closed 6 years ago
I agree with the motivation. The change is compatible with existing usage. The Win32 console functions support equivalent functionality. I see no blockers to the implementation.
LGTM :+1:
I don't know how to implement it. I don't know when I'll get time to do it, but can you provide any guidance?
Note: I prefer the first interface. Only due to compatibility with existing usage.
The cursor placement is the last part of building the Write
that corresponds to the bytes output to the terminal device.
There are three paths:
Write
.I suspect this would require the same procedure as 3. Except without the writeShowCursor
.
Realistically speaking, I am not going to get around to this so I'm closing it to avoid staleness. If someone becomes interested in contributing this, we can re-open.
I received a request from a
brick
user asking about the possibility of supporting blind users via Braille terminals. The request was to support always placing a cursor on the currently-focused UI element, with the understanding that this might not be visually appealing if the cursor is visible. Instead the user proposed the cursor be placed but invisible:It seems like I'd need support from
vty
to do this inbrick
, possibly by adding a newCursor
constructor so as to getor perhaps
What do you think?