johndoe31415/pyradium

Accept regular expression in s:term prompt

Closed this issue · 0 comments

s:term currently only accepts a string. However, in some instances we have both root and user commands in the same terminal, thus we would like to match on ^[#$] . This is not possible yet, but would be if we allowed regular expression syntax for prompt detection.