cabal-club / cabal-cli

Terminal client for Cabal, the p2p chat platform.

Home Page:https://cabal.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

improve nick autocompletion

cblgh opened this issue · comments

currently we only autocomplete nicks if it's the first thing in the sentence

it would be nice if we could autocomplete the following things anywhere in a sentence:

  • nicks
  • channel names
  • commands

it would also be nice if, when we have multiple matches, we could cycle around to the next alphabetical match

we might be able to use this super old dep for a more robust autocomplete https://github.com/marccampbell/node-autocomplete

lol fuck it i just fixed it without any deps in #145