strip spaces from command line input

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

strip spaces from command line input

ravas
I keep pressing space after I input a command (Autocad habbit),
which results in 'Unknown command' after I press Enter.
Stripping any spaces from the beginning and end would
prevent this and help the transition for people like me. ;D
Reply | Threaded
Open this post in threaded view
|

Re: strip spaces from command line input

dxli
I remember it was stripping away tailing space.

I will have a look.

ravas wrote
I keep pressing space after I input a command (Autocad habbit),
which results in 'Unknown command' after I press Enter.
Stripping any spaces from the beginning and end would
prevent this and help the transition for people like me. ;D
Reply | Threaded
Open this post in threaded view
|

Re: strip spaces from command line input

ravas
commit 52802e2