Issue #5833: Fix extra space character in readline completion with the