LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
input.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "input.h"
#include "history.h"
+ Include dependency graph for input.c:

Go to the source code of this file.

Functions

void reset_input_mode (void)
 
void termios_init (void)
 
char * get_raw_buffer (char *PS1)
 

Function Documentation

◆ get_raw_buffer()

char * get_raw_buffer ( char *  PS1)

Definition at line 33 of file input.c.

References free(), get_hist_at_off(), malloc(), memset(), read(), and strlen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset_input_mode()

void reset_input_mode ( void  )

Definition at line 16 of file input.c.

◆ termios_init()

void termios_init ( void  )

Definition at line 20 of file input.c.