king: serf stderr goes to terminals.

This commit is contained in:
~siprel 2020-06-10 21:03:46 +00:00
parent cefc25cbe1
commit c721baee7f
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ Bugs:
- [ ] In non-daemon mode, serf slogs/stderr output that happens *before*
the terminal connects should still go to stderr.
- [ ] Serf stderr should also be send (along with slogs) to all connected
- [x] Serf stderr should also be send (along with slogs) to all connected
terminals.
- [x] `king new` should reject pier directories that already exist.
- [x] In non-daemon-mode, ^D doesn't bring down Urbit properly.
@ -56,7 +56,7 @@ Polish:
# Misc Bugs
- [ ] `king run --collect-fx` flag does nothing. Remove or implement.
- [ ] Handle ^C in connected terminals. It should interrupt current
- [x] Handle ^C in connected terminals. It should interrupt current
event (send SIGINT to serf, which will cause the current event to
fail promptly).
- [x] The terminal driver seems to have a race condition when spinner

View File

@ -132,7 +132,7 @@ runSerf vSlog pax fax = do
, scPier = pax
, scFlag = fax
, scSlog = \(pri, tank) -> printTank slog pri tank
, scStdr = \line -> runRIO env $ logTrace (display ("SERF: " <> line))
, scStdr = \txt -> slog (txt <> "\r\n")
, scDead = pure () -- TODO: What can be done?
}