d-iii-s / msim

Light-weight MIPS R4000 and RISC-V system simulator
https://d3s.mff.cuni.cz/software/msim/
GNU General Public License v2.0
5 stars 4 forks source link

Tab completion broken #9

Closed vhotspur closed 3 years ago

vhotspur commented 4 years ago

Tab completion does not work for second parameter.

Example session follows:

<msim> Alert: Configuration file "msim.conf" not found, skipping
<msim> Alert: MSIM 1.4.0
<msim> Alert: Entering interactive mode, type `help' for help.
[msim] add dcpu cpu
[msim] cpu <TAB>
bd     br     break  cp0d   goto   help   id     info ...
[msim] cpu b<TAB>
bd     br     break  
[msim] cpu bre<TAB>

Sub-command is not completed when it is the only option.

This is regression from 1.3.8.5 where this worked.