91861 / wayst

A simple terminal emulator
MIT License
287 stars 9 forks source link

Feature request: config option for cursor style #63

Closed etenim closed 3 years ago

etenim commented 3 years ago

As an example:

--cursor-style <string> Cursor style (default: [])

Optionally setting the cursor style to something other than the standard white box. Thinking of an underscore _ for a more minimalist type cursor.

Having it be a string type might not be appropriate. Possibly just an enable/disable setting if the choice would simply be between the default box and an underscore, rather than an arbitrary setting with other options.

Thank you for a very nice terminal emulator!

91861 commented 3 years ago

Having it be a string type might not be appropriate.

The cursor is not rendered as regular text so this would be difficult.

It can draw the three standard cursor types and we could do something like this: --cursor-style <name:bool?> Set initial cursor style - block/beam/underline:blinking (default: block:true)

etenim commented 3 years ago

It can draw the three standard cursor types and we could do something like this: --cursor-style <name:bool?> Set initial cursor style - block/beam/underline:blinking (default: block:true)

That would be perfect, thank you.