1
edit
Changes
no edit summary
#-<span style="color:#FF0000"><b> Make sure before the function ends, deallocates the allocated memory.</b></span>
INSERT KEY:
#You wanna turn on and off Overwrite every time INSERT key is hit.
#INSERT mode is default value. if you press INSERT once, Overwrite Mode will be turn ON and INSERT mode will be turn OFF.
#If you press INSERT again, INSERT mode will be turn ON and Overwrite Mode will be turn OFF
#I dont think there is anything else you should do with INSERT key beside Toggling INSERT MODE and OVERWRITE MODE.
Printable KEY:
// if( key is withing printable character's code){
// if (*instermode){
// do something with str[*strOffset+ *curPosition]
// }
// else{
// do something else with str(.....
// }
//}
Diagram