Загрузка...

How to Read Keyboard Input Without Blocking in C (Linux)

In this video i make keyboard input in C actually work in real time no more waiting for enter no more freezing the whole program

we will fight the linux terminal disable canonical mode and force getchar() to behave like a civilized function

turns out non blocking input means fighting both the terminal and the kernel because obviously one problem wasnt enough

tldr watch at 2x speed, i prefer that XD

Видео How to Read Keyboard Input Without Blocking in C (Linux) канала ComputerMindCore
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять