1
1
mirror of https://github.com/walles/moar.git synced 2024-11-22 11:45:50 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Johan Walles
c89cecddd8 Fix a test failure on Windows 2024-07-17 00:40:57 +02:00
Johan Walles
0091a15268 Test the fancy interruptable reader
And add hints for any future Windows implementation.
2024-07-17 00:38:31 +02:00
Johan Walles
002d188b49 Start adding tests for the interruptable reader 2024-07-17 00:18:36 +02:00
Johan Walles
f4fed36bfd Fix a hang
Before this change, if select() returned EINTR we would hang.

This change:
* Makes us ignore EINTRs and try again
* Makes sure to not hang, even if the twin main loop would fail for some
  other reason.
2024-07-15 20:30:47 +02:00
Johan Walles
00bb910b6f Provide implementation hints for Windows 2024-07-14 12:25:17 +02:00
Johan Walles
45480cf702 Don't start new reads when shutting down 2024-07-14 12:14:59 +02:00
Johan Walles
d3ed780152 Do fancy shutdown handling on Unix 2024-07-14 12:07:30 +02:00
Johan Walles
e0729105d6 Implement naive shutdown on Unix as well 2024-07-14 11:37:36 +02:00
Johan Walles
b2b69852e2 Make Windows screen shutdown more robust
Relates to <https://github.com/walles/moar/issues/217>
2024-06-29 13:32:12 +02:00
Johan Walles
848958dad0 Clarify where Windows errors come from 2023-08-14 19:47:42 +02:00
Johan Walles
46b84fb392 Add a Windows executable to the release 2021-09-10 06:50:44 +02:00
Steven Penny
0f9ae758d5 Use CONIN$ for Windows screen setup
Fixes #49
2021-04-22 14:03:22 -05:00
Johan Walles
a211a28f49 Correct URL, take II 2021-04-21 06:29:34 +02:00
Johan Walles
2cf40d8f0a Correct URL 2021-04-21 06:25:52 +02:00
Johan Walles
39ab1fc93d Don't panic on no-piped-stdin on Windows 2021-04-18 13:33:13 +02:00
Johan Walles
1b292fa050 Improve messaging 2021-04-18 07:45:41 +02:00
Johan Walles
4e8c49ea8d Warn about getting piped data on Windows 2021-04-18 07:36:13 +02:00
Johan Walles
ff9380fe15 Restore console settings when done 2021-04-17 22:29:45 +02:00
Johan Walles
9e0d48e866 Fix arrow keys handling 2021-04-17 22:29:45 +02:00
Johan Walles
9b86fc5736 Windows: Color output, character input
Arrow keys don't work.
2021-04-17 22:29:45 +02:00
Johan Walles
9f9dc37594 Remove a superfluous : 2021-04-17 22:29:45 +02:00
Johan Walles
e5ec2ce19a Open CONIN$ the usual way 2021-04-17 22:29:45 +02:00
Johan Walles
e72baff02e Try getting hold of the console on Windows 2021-04-17 22:29:45 +02:00