Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions source/client/lsp-raw_clients.adb
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ package body LSP.Raw_Clients is
Ada.Strings.Unbounded.Append (Self.To_Write, Header);
Ada.Strings.Unbounded.Append (Self.To_Write, Text);

if Self.Standard_Input_Available then
Self.Listener.Standard_Input_Available;
end if;
Self.Listener.Standard_Input_Available;
end Send_Message;

-------------------
Expand Down
3 changes: 3 additions & 0 deletions source/client/lsp-raw_clients.ads
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ private
Listener : aliased Raw_Clients.Listener (Raw_Client'Unchecked_Access);

Standard_Input_Available : Boolean := False;
-- ??? Needs doc: what does this mean, when is it set, when is it unset?
-- ??? It would be nice to name this differently, since
-- Standard_Input_Available is also the name of a subprogram above.

To_Write : Ada.Strings.Unbounded.Unbounded_String; -- Output data
Written : Natural := 0; -- How much we have written from To_Write
Expand Down