Advanced-Equipment icon indicating copy to clipboard operation
Advanced-Equipment copied to clipboard

ArmaOS blinking cursor

Open y0014984 opened this issue 2 years ago • 2 comments

If we have an individual terminal font with an full size block, we could implement a blinking cursor.

y0014984 avatar Apr 02 '22 10:04 y0014984

At the moment @GermanHydrogen is implementing a moving cursor that uses our current terminal and moves text to the right side of the cursor while the cursor moves left, and also the other way around. If we ever want that the cursor is blinking we would need to be able to update somthing in a time interval. That would not be a good idea with the current terminal.

One solution to this problem could be a second text control, that lies behind the current text control and contains only the cursor. In that way it could be much easier to just hide/show the textfield and the cursor within, so it seems to blink. also this would allow to use a cursor like an underline _, a pipe | or a block sign, that is rendered in the same place as the current text position.

The only task would be to update the second text control in the same way the first one is changed, so they keep aligned. I think this is not too much work and would increase the look and feel of a real terminal. But I think at the moment the solution by @GermanHydrogen is enough because we have so much to do und so little time.

This comment is just to keep track of that idea.

y0014984 avatar Nov 18 '22 08:11 y0014984

related to #130

y0014984 avatar Dec 20 '23 12:12 y0014984