Remove iostream optimization from buffer
This commit is contained in:
parent
30e1850753
commit
b15f1e61bb
@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "../util/_index.hpp"
|
||||
#include "../gesture/_index.hpp"
|
||||
#include <cstdio> // fgets_unlocked, stdin
|
||||
#include <iostream> // std::ios, std::cout, std::cin
|
||||
|
||||
/**
|
||||
* Starts the comfortable-swipe service by buffering libinput debug-events.
|
||||
@ -32,11 +31,6 @@ namespace comfortable_swipe::service
|
||||
{
|
||||
void buffer()
|
||||
{
|
||||
std::ios::sync_with_stdio(false);
|
||||
std::cin.tie(0);
|
||||
std::cout.tie(0);
|
||||
std::cout.flush();
|
||||
|
||||
// read config file
|
||||
auto config = comfortable_swipe::util::read_config_file(__COMFORTABLE_SWIPE__CONFIG__);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user