Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is especially useful for blind people using braille displays.
A braille display is a device with mechanical dots representing the
content of the screen in braille with the aid of a software package
such as BRLTTY. Those displays are made of a single line with a variable
number of rows depending on the model, usually 40 or 80. This is
effectively a 1x40 window view of the screen.
By default, the braille window moves with the position of the screen
cursor. It doesn't track attributes such as reverse color as this is
too unreliable. Finding the actual active cell manually is a daunting
task.
This patch makes sc-im locate the cursor in the active cell when
navigating around so the braille window can automatically be located
on the active cell, or on the input field when active, or on the last
status message, hugely improving the user experience.
|
|
Added new HEADINGS_ODD, GRID_PAIR, and GRID_ODD types.
Can be used like this:
DEFINE_COLOR "cornsilk" 255 248 220
DEFINE_COLOR "wheat" 245 222 179
DEFINE_COLOR "dark_khaki" 189 183 107
DEFINE_COLOR "gray50" 127 127 127
DEFINE_COLOR "gray80" 204 204 204
DEFINE_COLOR "gray90" 229 229 229
color "type=GRID_PAIR fg=dark_khaki bg=cornsilk"
color "type=GRID_ODD fg=dark_khaki bg=wheat"
color "type=HEADINGS fg=dark_khaki bg=gray50"
color "type=HEADINGS_ODD fg=gray50 bg=gray90"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Backspace is represented differently on different operating systems. This
was previously addressed with OS flags but even between Linux
distributions and SSH clients the representation can differ.
This commit allows both representations in any build, removing the hack
flag.
|
|
|
|
Fixes #2.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
|
|
|
|
|