more characters to auto complete whitespace list added

This commit is contained in:
thrust26 2017-10-10 14:15:18 +02:00
parent c2325decb7
commit 3e6fe633f3
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,8 @@ bool PromptWidget::handleKeyDown(StellaKey key, StellaMod mod)
for (int i = 0; i < len; i++) for (int i = 0; i < len; i++)
{ {
str[i] = buffer(_promptStartPos + i) & 0x7f; str[i] = buffer(_promptStartPos + i) & 0x7f;
if(strchr("{*@<> ", str[i]) != NULL ) // whitespace characters
if(strchr("{*@<> =[]()+-/&|!^~%", str[i]) != NULL )
{ {
lastDelimPos = i; lastDelimPos = i;
delimiter = str[i]; delimiter = str[i];