Skip to content

Commit

Permalink
Update input.hpp
Browse files Browse the repository at this point in the history
clean read_stdin
  • Loading branch information
flagarde authored Jul 9, 2023
1 parent 6b2d183 commit f9cf771
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cpp-terminal/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,4 @@ Term::Event read_raw();
// Waits for an event (key press, screen resizing ...)
Term::Event read_event();

// returns the stdin as a string
// waits until the EOT signal is send
// if Term::Terminal is not enabling the keyboard this function will wait until
// the user presses CTRL+D (which sends the EOT signal)
std::string read_stdin();

} // namespace Term

0 comments on commit f9cf771

Please sign in to comment.