top: provide for visual hint when overtype mode active <=== port of newlib 970a3dc9
______________________________ original newlib message Given that we won't always be able to alter the cursor shapes (from underscore to block) if in input overtype mode, this commit will at least provide a visual clue. [ while this libvte quirk will impact gnome-terminal ] [ and likely others, we're able to change the cursor ] [ shape from underscore to block at a linux console. ] Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
5fe2af9177
commit
57389eab33
@ -1412,6 +1412,9 @@ static char *ioline (const char *prompt) {
|
||||
break;
|
||||
}
|
||||
putp(fmtmk("%s%s%s", tg2(beg, Msg_row), Cap_clr_eol, buf));
|
||||
#ifdef OVERTYPE_SEE
|
||||
putp(fmtmk("%s%c", tg2(beg - 1, Msg_row), ovt ? '^' : ' '));
|
||||
#endif
|
||||
putp(tg2(beg+pos, Msg_row));
|
||||
} while (key != kbd_ENTER);
|
||||
|
||||
|
@ -50,6 +50,7 @@
|
||||
//#define OFF_STDERROR /* disable our stderr buffering (redirect) */
|
||||
//#define OFF_STDIOLBF /* disable our own stdout 'IOFBF' override */
|
||||
//#define OFF_XTRAWIDE /* disable our extra wide multi-byte logic */
|
||||
//#define OVERTYPE_SEE /* display a visual hint for overtype mode */
|
||||
//#define PRETEND0NUMA /* pretend that there ain't any numa nodes */
|
||||
//#define PRETEND2_5_X /* pretend we're linux 2.5.x (for IO-wait) */
|
||||
//#define PRETEND48CPU /* pretend we're smp with 48 ticsers (sic) */
|
||||
|
Loading…
Reference in New Issue
Block a user