how people do their "extended" readline() ??
how to do an "extended" keyboard readline() ??
like eg :: i got a readline() waiting for input but what if i would like to go into another "enviroment" after intake of certain "key values" like what we seen in some disk programs ... eg:: everytime i give a %JK%SET% something true , that will set something to true but its a litle bit troublesome ... i would like to just gives a %JK%SET%! and that will go into %JK%SET% enviroment , from there i just need to give a something true and thats it ... and by giving a !q that will exit the %JK%SET% enviroment and return me to the initial "global" enviroment ... my thinking is to "spawn" a new readline() enviroment or are there any other better possibilities ?? //not urgent ... //thanks in advance ... . |
or just a general flow of how people did it , that would be easier for me initially ... i will try my best to look into it myself , if encountering some general detail problems i will ask again ...
. |
All times are GMT -5. The time now is 11:01 PM. |