mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
Enter now correctly accepts in the number dialog
This commit is contained in:
parent
d3d6eec424
commit
76214e768e
@ -428,7 +428,7 @@ namespace dialog {
|
||||
unsigned char* pts = (unsigned char*) &color;
|
||||
pts[uni - 'A'] = x;
|
||||
}
|
||||
else if(uni == ' ' || uni == '\n') {
|
||||
else if(uni == ' ' || uni == '\n' || uni == '\r') {
|
||||
bool inHistory = false;
|
||||
for(int i=0; i<10; i++) if(colorhistory[i] == (unsigned) color)
|
||||
inHistory = true;
|
||||
|
Loading…
Reference in New Issue
Block a user