Mudlet features and API requests

User avatar
SlySven
Posts: 995
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Mudlet features and API requests

Post by SlySven »

It is something I want to sort out - and I think I know how to do it - we just have to allow the Mud Server to negotiate for them to use Telnet Suboption 1 i.e. ECHO and forcibly disable the effect of the "show the text you sent" option on the "input line" tab of the "Profiles preferences" dialogue being checked when they have it active - because when they are echoing the text we send to them we would not want to also show it ourselves and double up the information. This is how Telnet suppresses the echoing of such sensitive data and is fairly well respected (except the Windows XP and older Telnet code which was thoroughly broken in that aspect IIRC).

visionok
Posts: 22
Joined: Thu Mar 04, 2021 8:50 am

Re: Mudlet features and API requests

Post by visionok »

The last post in here has been quite a while ago, but since this is pinned, it's still revelant right?

Anyway some feature requests:
  • A config option to toggle case-(in)sensitive search, in both the command line history search and the main window scrollback buffer search. Right now both are case-sensitive, for me, it would be better for them to be non case-sensitive.
  • An undo function for the tree list in the editor. Right now when you delete items or groups there is no way to undelete them. And it is all too easy to accidently delete items, eg you click on an item in the tree list, and forget to click in the editor part then start typing and deleting code and boom, your item is deleted :cry:
  • IIRC Zmud had a feature where you can specify a list of words for tab completion when entering a command. It would be great if mudlet could implement a similar feature.
  • When doing tab completion it seems that mudlet doesn't search the whole of the scrollback buffer. It would be great it can search the entire (or more of the) buffer for matches.
Thanks.

User avatar
Vadi
Posts: 4941
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet features and API requests

Post by Vadi »

Hi!

Yes, it's still relevant.

1) We'll consider this - would like to know if more people find this useful.

2) Agree, highly desired.

3) Possible as of the latest update to Mudlet: https://wiki.mudlet.org/w/Manual:Lua_Fu ... Suggestion

4) We'll consider it.

Thanks for the feedback!

visionok
Posts: 22
Joined: Thu Mar 04, 2021 8:50 am

Re: Mudlet features and API requests

Post by visionok »

Vadi wrote:
Tue Mar 16, 2021 1:15 pm
3) Possible as of the latest update to Mudlet: https://wiki.mudlet.org/w/Manual:Lua_Fu ... Suggestion
Great stuff, it's good to see that the documentation is kept up to date.

I tried this, when a connection is made, I call a function that adds a bunch of entries using addCmdLineSuggestion(). It works for a while, but it seems that the entries are cleared periodically, and I have to keep calling my function to re-add the entries.

[edit]
Actually I don't think it is working. The function that I use to call addCmdLineSuggestion() prints out each entry as it is added. So mudlet was actually using that print out to perform the completion, and when the print out has scrolled past a certain point the completion stops working. I confirmed this by changing my function to not print out the entries, and tab completion does not use any of the entries I had added.

Update 22-03-2021
I figured out what the problem was with the command line suggestions. All my suggestions were of the form xx.yyyyyy, apparently mudlet doesn't like the period (.) in the suggestions. I removed the prefix of xx. leaving just the yyyyyy and now it works properly :)
Last edited by visionok on Mon Mar 22, 2021 5:47 am, edited 3 times in total.

User avatar
Vadi
Posts: 4941
Joined: Sat Mar 14, 2009 3:13 pm

Re: Mudlet features and API requests

Post by Vadi »

Yep - we take documentation seriously as that's a great way for players to learn about the client. It's mentioned in release notes https://www.mudlet.org/2021/03/4-11-smoother-mapper/ as well.

Ideally the suggestions stay for the duration of the whole run - that's something we'll improve on.

Post Reply