mirror of
https://github.com/zoriya/ash.git
synced 2026-06-06 20:03:31 +00:00
Restoring usual termios status before and after commands
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
typedef struct
|
||||
{
|
||||
struct termios old_termios;
|
||||
struct termios saved_termios;
|
||||
int x;
|
||||
int y;
|
||||
int w;
|
||||
@@ -65,4 +66,7 @@ my_addstr(window, str))
|
||||
|
||||
|
||||
#define my_clrtoeol() (printf("\x1B[K"))
|
||||
#define my_clrtobot() (printf("\x1B[J"))
|
||||
#define my_clrtobot() (printf("\x1B[J"))
|
||||
|
||||
void my_npause(my_window *window);
|
||||
void my_nresume(my_window *window);
|
||||
Reference in New Issue
Block a user