Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/dcell/color.d
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ enum Color : uint
private static immutable uint[Color] rgbValues;
private static immutable Color[uint] palValues;

shared static this() @safe
shared static this() @trusted
{
rgbValues[Color.black] = 0x000000;
rgbValues[Color.maroon] = 0x800000;
Expand Down
4 changes: 2 additions & 2 deletions source/dcell/parser.d
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ immutable KeyCode[int] winKeys = [
0x03: KeyCode(Key.cancel), // vkCancel
0x08: KeyCode(Key.backspace), // vkBackspace
0x09: KeyCode(Key.tab), // vkTab
0x0c: KeyCode(Key.clear), // vClear
0x0d: KeyCode(Key.enter), // vkReturn
0x12: KeyCode(Key.clear), // vClear
0x13: KeyCode(Key.pause), // vkPause
0x1b: KeyCode(Key.esc), // vkEscape
0x21: KeyCode(Key.pgUp), // vkPrior
Expand Down Expand Up @@ -1027,7 +1027,7 @@ private:
{
chr = p0;
}
else if (key == 0x11 || key == 0x13 || key == 0x14)
else if (p0 == 0x10 || p0 == 0x11 || p0 == 0x12 || p0 == 0x14)
{
// lone modifiers
return;
Expand Down