mirror of
https://github.com/zoriya/ash.git
synced 2026-06-02 02:35:12 +00:00
Adding a redirection involving a pty
This commit is contained in:
+12
-4
@@ -5,16 +5,24 @@
|
||||
** bindings
|
||||
*/
|
||||
|
||||
#include "shell.h"
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shell.h"
|
||||
|
||||
typedef struct key_function
|
||||
{
|
||||
const char *name;
|
||||
int (*run)(int key, buffer_t *command_buffer, env_t *env);
|
||||
} key_function_t;
|
||||
|
||||
extern const key_function_t key_functions[];
|
||||
typedef struct binding
|
||||
{
|
||||
int key;
|
||||
int (*func)(int key, buffer_t *command_buffer, env_t *env);
|
||||
} binding_t;
|
||||
|
||||
int self_insert_command(int key, buffer_t *command_buffer, env_t *env);
|
||||
extern const key_function_t key_functions[];
|
||||
extern const binding_t emacs_bindings[];
|
||||
|
||||
int self_insert_command(int key, buffer_t *buffer, env_t *env);
|
||||
int newline_command(int key, buffer_t *buffer, env_t *env);
|
||||
Reference in New Issue
Block a user