Skip to content
Snippets Groups Projects
Commit 81d0e4b9 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Support the -insert (instead of overwrite kbrd mode) option in more UIFC apps

I think this is what nelgin/Keyop was asking for via IRC.
parent 83149041
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3166 passed
......@@ -650,6 +650,10 @@ int main(int argc, char **argv)
memset(&cfg,0,sizeof(cfg));
str[0]=0;
for(i=1;i<argc;i++) {
if(strcmp(argv[i], "-insert") == 0) {
uifc.insert_mode = TRUE;
continue;
}
if(argv[i][0]=='-')
switch(toupper(argv[i][1])) {
case 'D':
......
......@@ -1940,6 +1940,10 @@ int main(int argc, char** argv) {
uifc.esc_delay=500;
for(i=1;i<argc;i++) {
if(strcmp(argv[i], "-insert") == 0) {
uifc.insert_mode = TRUE;
continue;
}
if(argv[i][0]=='-')
switch(toupper(argv[i][1])) {
case 'C':
......
......@@ -895,6 +895,10 @@ int main(int argc, char** argv) {
boxch.bl=(char)200;
boxch.br=(char)188;
for(i=1;i<argc;i++) {
if(strcmp(argv[i], "-insert") == 0) {
uifc.insert_mode = TRUE;
continue;
}
if(argv[i][0]=='-')
switch(toupper(argv[i][1])) {
case 'C':
......
......@@ -1489,6 +1489,10 @@ int main(int argc, char **argv)
text_mode=_ORIGMODE;
for(i=1;i<argc;i++) {
if(strcmp(argv[i], "-insert") == 0) {
uifc.insert_mode = TRUE;
continue;
}
if(argv[i][0]=='-'
#ifndef __unix__
|| argv[i][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