← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 1128108] Re: Add command completion hook

 

There are situations when (being a creator) I would love to have for
example path completition in command line.
IF you cannot make completion hook async/non-blocking (I mean, that it will
not hang whole Mudlet till completition) I could pre-cache all the main
paths and complete from that, loading new paths as I navigate (a bit of
lazy-loading and pre-loading).
And with a good connection it will be still nearly instant... I mean, even
200ms, being barely noticeable, it still acceptable IMHO.

Also, while we are at it: tab completion does not seem to work in the
middle of command, only at the end.

And, having that hook, I could also have a database wired up that could
serve a lot more contextual data, depending on what is already in command
line.
(Hook looks what is already typed in command line, decides on context (what
words are before cursor) and looks up a set of specific things from DB as
completion candidates).

Regards,
Garagoth.

On Sat, Mar 11, 2017 at 8:48 PM, Vadim Peretokin <vperetokin@xxxxxxxxx>
wrote:

> Revisiting this, @Garagoth: how would it work though? When a user
> presses tab, the result has to be near instant. Sending anything to the
> MUD voids that?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1128108
>
> Title:
>   Add command completion hook
>
> Status in Mudlet:
>   New
>
> Bug description:
>   Please add hook/event/whatever that will allow to change how and what
> command completion can do.
>   For example I would like to (after pressing tab) send a command to mud,
> wait for output, parse it and complete from that.
>
>   Regards,
>   Garagoth.
>
>   Mudlet: 2.1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mudlet/+bug/1128108/+subscriptions
>

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1128108

Title:
  Add command completion hook

Status in Mudlet:
  New

Bug description:
  Please add hook/event/whatever that will allow to change how and what command completion can do.
  For example I would like to (after pressing tab) send a command to mud, wait for output, parse it and complete from that.

  Regards,
  Garagoth.

  Mudlet: 2.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1128108/+subscriptions


References