Skip to content

Insert cursor into a line rather than have it on top of the selected character #3916

@pachpict

Description

@pachpict

Context

From the Canute Console Braille display development team.

The Canute Console is a 360 6-dot Braille display running Raspian (Debian based). The Braille display reflects the last 9 lines of the terminal. We use Micro as the primary text editor.

Because Braille has no option for background/foreground colour (common terminal way of showing the cursor), and because our display is 6-dot not 8-dot (the extra bottom two dots being the common refreshable Braille display method of showing cursor position), the cursor essentially blocks out the character it is on.

So rather than a string like this having the cursor visible over the letter P, it obscures the letter P (our default cursor shape is all six dots, represented here by the "=" sign, but it doesn't matter what cursor shape it is, it always obscures the letter underneath):

Hello, said Peter becomes, Hello, said =eter

Its not the end of the world but there are circumstances where it is far from ideal.

Proposed solution

An option in Micro configuration to insert the cursor as a character, therefore to move the letters over. So:

Hello, said Peter becomes, Hello, said =Peter

This will presumably have some consequences for line wrapping and so I can see it may not be trivial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions