Skip to content

Commit

Permalink
Favor EOR over GA.
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryCordewener committed Jan 30, 2024
1 parent 4ca762d commit 3589602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 2 additions & 3 deletions TelnetNegotiationCore/Interpreters/TelnetEORInterpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,11 @@ public async Task SendPromptAsync(byte[] send)
{
await CallbackNegotiationAsync(CurrentEncoding.GetBytes(Environment.NewLine));
}
else
else if(_doEOR is true)
{
await CallbackNegotiationAsync([(byte)Trigger.IAC, (byte)Trigger.EOR]);
}
// TODO: Tie into _doGA
if(_doEOR is not null or false)
else if (_doGA is not null or false)
{
await CallbackNegotiationAsync([(byte)Trigger.IAC, (byte)Trigger.GA]);
}
Expand Down
6 changes: 0 additions & 6 deletions TelnetNegotiationCore/Models/MSDPConfig.cs

This file was deleted.

0 comments on commit 3589602

Please sign in to comment.