Skip to content
Snippets Groups Projects
Commit 3247302d authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Start UIFC in insert mode.

Per comment on reddit by dialsoft, the lack of an insert key on
laptops can make manipulating the phonebook more difficult.  Since
all the other UIFC functions have an insert alternate, they don't
need any changes now that there's a manual, but for editing a
string, the insert key is the only way to toggle overstrike.

Since the insert mode toggle persists, simply starting in overstrike
mode should be fine.

Maybe some weird control key of function key can be used (though
I guess laptops don't have function keys either anymore).
parent 0c6deb21
No related branches found
No related tags found
No related merge requests found
Pipeline #6695 passed
......@@ -1566,6 +1566,7 @@ main(int argc, char **argv)
uifc.mode = UIFC_NOCTRL | UIFC_NHM;
uifc.size = sizeof(uifc);
uifc.esc_delay = 25;
uifc.insert_mode = TRUE;
url[0] = 0;
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment