withoutboats / notty

A new kind of terminal
GNU Affero General Public License v3.0
2.3k stars 41 forks source link

Scaffolding does not draw the cursor to the screen #39

Open withoutboats opened 8 years ago

withoutboats commented 8 years ago

Currently, the cursor is not drawn to the screen at all. A good first step would be changing the background color of the cursor cell, so that at least we can see the cursor.

In the long term, the cursor can currently be styled in any way that text can. Its not exactly clear what this means. For example, if you apply the bold style to the cursor, does that mean the character under the cursor should be bold, or does it mean nothing at all? Are there only some styles that actually are applied to the cursor, and trying to apply others is just ignored? How do the styles applied to the cursor interact with the styles applied to the cell the cursor is over? This needs to be determined and implemented.

withoutboats commented 8 years ago

Progress! The cursor is now drawn to the screen by inverting the foreground and background in the cursor cell. However, the second step - determining what kinds of styles the cursor can accept, and applying them, has not been done yet.