Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbilas committed Aug 17, 2024
1 parent a9e6311 commit 2057e90
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Stale.Cli/StaleCli.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@
// ReSharper disable AccessToDisposedClosure
// ^ talking about ctx here, it's ok, it outlives everything

/* // doesn't do anything in raw mode; unsure we need it
Terminal.Signaled += signalContext =>
{
if (signalContext.Signal != TerminalSignal.Interrupt)
return;
// TODO: pass through ctrl-c and attempt to let the child process exit gracefully
// (may also need to handle ctrl-break, ctrl-close, etc)
// (may also need to pass y/n confirmation thingy)
ctx.Cancel();
};
*/

try
{
if (!Terminal.StandardIn.IsInteractive)
Expand Down

0 comments on commit 2057e90

Please sign in to comment.