diff options
author | bptato <nincsnevem662@gmail.com> | 2023-07-03 18:06:55 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-07-03 18:06:55 +0200 |
commit | ee8310c5490d3366559304e056bda164f7fae726 (patch) | |
tree | a11afc973e07e63b46fe06b2059c79376342eef6 /src/display/client.nim | |
parent | 4a156d495ef6931db9fbc87978178cdbca676444 (diff) | |
download | chawan-ee8310c5490d3366559304e056bda164f7fae726.tar.gz |
Do not conditionally disable CastSizes
...because that doesn't work at all.
Diffstat (limited to 'src/display/client.nim')
-rw-r--r-- | src/display/client.nim | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/display/client.nim b/src/display/client.nim index 79b433ae..5134f130 100644 --- a/src/display/client.nim +++ b/src/display/client.nim @@ -370,12 +370,7 @@ proc inputLoop(client: Client) = selector.registerHandle(int(client.console.tty.getFileHandle()), {Read}, nil) let sigwinch = selector.registerSignal(int(SIGWINCH), nil) while true: - when defined(CastSizes): - {.warning[CastSizes]:off.} # not our bug. TODO remove when fixed - let events = client.selector.select(-1) - {.warning[CastSizes]:on.} - else: - let events = client.selector.select(-1) + let events = client.selector.select(-1) for event in events: if Read in event.events: client.handleRead(event.fd) |