Pyreadline has an open unfixed issue that affects rshell: https://github.com/pyreadline/pyreadline/issues/65 . That project seems to be abandoned, but Pyreadline3, an independent partial reimplementation seems to work with rshell.
In listdir_matches, a function executed on the board, os.path.isdir is called. os.path is not available on most micropython distributions; this call has been replaced by an inline reimplementation.
Two independent issues are fixed:
listdir_matches
, a function executed on the board,os.path.isdir
is called.os.path
is not available on most micropython distributions; this call has been replaced by an inline reimplementation.