mirror of
https://github.com/zoriya/ash.git
synced 2026-06-03 10:55:41 +00:00
Handling ctrl d as eof
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
|
||||
#include "shell.h"
|
||||
|
||||
#define CTRL(c) ((c) & 0x1F)
|
||||
|
||||
typedef struct key_function
|
||||
{
|
||||
const char *name;
|
||||
@@ -25,4 +27,5 @@ 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);
|
||||
int newline_command(int key, buffer_t *buffer, env_t *env);
|
||||
int eof_command(int key, buffer_t *buffer, env_t *env);
|
||||
Reference in New Issue
Block a user