magic-wormhole/src/wormhole
Brian Warner 12414fd8be code-completer: re-fetch channelids upon TAB, if necessary
This fixes the situation where you start the receiver first, then start
the sender, then you hit TAB on the receiver.

This somewhat improves the situation where you start the receiver first,
hit TAB (getting nothing), then start the sender, then hit TAB on the
receiver again. The second TAB will list the channel-ids, but won't
insert the only one as it's supposed to. You must type something (which
you can erase) and then hit TAB again to get a unique channel-id
inserted. But at least you can tell which one to type.

The first TAB runs the completer with readline.get_completion_type()
equal to 9=TAB=try-to-insert. The second (and subsequent) TABs use
63=?=list-matches, and it won't go back to 9 until you type something.
2015-03-13 01:50:21 -07:00
..
blocking code-completer: re-fetch channelids upon TAB, if necessary 2015-03-13 01:50:21 -07:00
scripts cosmetic changes to frontend commands 2015-03-12 23:32:58 -07:00
servers make rendezvous happen in real-time: replace polling with EventSource 2015-03-12 23:07:47 -07:00
test add first unit test, 'setup.py test' support 2015-02-10 01:05:15 -08:00
twisted fill in initiator flow, define relay API 2015-02-10 18:34:13 -08:00
util rearrange source tree 2015-02-15 09:29:28 -08:00
__init__.py initial setup.py, versioneer-ification 2015-02-10 00:48:19 -08:00
_version.py initial setup.py, versioneer-ification 2015-02-10 00:48:19 -08:00
codes.py code-completer: re-fetch channelids upon TAB, if necessary 2015-03-13 01:50:21 -07:00
const.py TRANSIT_RELAY: update to new hint format 2015-03-12 16:03:14 -07:00
wordlist.py use completing-input for wormhole code read, not sys.argv 2015-02-14 17:48:38 -08:00