mirror of
https://github.com/quitesimpleorg/asteriskify.git
synced 2024-11-24 00:32:37 +01:00
Tidy up indentation
This commit is contained in:
parent
7323492836
commit
24bd0097b2
@ -36,7 +36,8 @@ size_t pwbufsize = 0;
|
|||||||
size_t pwindex = 0;
|
size_t pwindex = 0;
|
||||||
int current_mode = MODE_ECHO;
|
int current_mode = MODE_ECHO;
|
||||||
|
|
||||||
void enter_raw_mode() {
|
void enter_raw_mode()
|
||||||
|
{
|
||||||
struct termios raw = saved_termios;
|
struct termios raw = saved_termios;
|
||||||
raw.c_lflag &= ~(ECHO | ICANON);
|
raw.c_lflag &= ~(ECHO | ICANON);
|
||||||
if(tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw) != 0)
|
if(tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw) != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user