Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
miegorengman
Wanderer


Joined: 05 Sep 2008
Posts: 52

PostPosted: Sun Jul 10, 2022 3:52 am   

is it possible to execute keyboard commands?
 
I am using #input and it is really helpful to be prompted with the needed commands, but there are also occasions where the prompt turns out to be the wrong thing...

is there a way to effectively ctrl+a or select all the command line following an input trigger? this would allow the user to immediately type over the #input

Thank you for reading
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 873
Location: USA

PostPosted: Sun Jul 10, 2022 5:56 am   
 
#input has a second optional parameter.

#input "this sample will be highlighted"
will put that text in the box but not select it

#input "this sample will be highlighted" 1
will put that text in the box and select all of it (so pressing any key overwrites/deletes it)
Reply with quote
miegorengman
Wanderer


Joined: 05 Sep 2008
Posts: 52

PostPosted: Sun Jul 10, 2022 4:46 pm   
 
thank you Tarn :)

aaaand its in the manual....
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net