mirror of
https://github.com/rfivet/uemacs.git
synced 2025-11-23 11:41:15 -05:00
Remove function pointer from key to bindable table.
Emphasize bindable functions in code. Use function name based prompts.
This commit is contained in:
19
input.h
19
input.h
@@ -10,16 +10,16 @@ typedef enum {
|
||||
|
||||
extern kbdstate kbdmode ; /* current keyboard macro mode */
|
||||
extern int lastkey ; /* last keystoke */
|
||||
extern int kbdrep ; /* number of repetitions */
|
||||
extern int kbdm[] ; /* Holds kayboard macro data */
|
||||
extern int kbdrep ; /* number of repetitions */
|
||||
extern int kbdm[] ; /* Holds kayboard macro data */
|
||||
extern int *kbdptr ; /* current position in keyboard buf */
|
||||
extern int *kbdend ; /* ptr to end of the keyboard */
|
||||
|
||||
extern int metac; /* current meta character */
|
||||
extern int ctlxc; /* current control X prefix char */
|
||||
extern int reptc; /* current universal repeat char */
|
||||
extern int abortc; /* current abort command char */
|
||||
extern const int nlc ; /* end of input char */
|
||||
extern int metac ; /* current meta character */
|
||||
extern int ctlxc ; /* current control X prefix char */
|
||||
extern int reptc ; /* current universal repeat char */
|
||||
extern int abortc ; /* current abort command char */
|
||||
extern const int nlc ; /* end of input char */
|
||||
|
||||
|
||||
void ue_system( const char *cmd) ;
|
||||
@@ -28,9 +28,8 @@ int newmlarg( char **outbufref, const char *prompt, int size) ;
|
||||
int newmlargt( char **outbufref, const char *prompt, int size) ;
|
||||
int ectoc( int c) ;
|
||||
|
||||
/* Look up in names to function association table */
|
||||
const name_bind *getname( void) ; /* interactively */
|
||||
const name_bind *getfncnb( fnp_t func) ; /* by function */
|
||||
/* Get a command name from the command line or interactively */
|
||||
const name_bind *getname( void) ;
|
||||
|
||||
int tgetc( void) ;
|
||||
int get1key( void) ;
|
||||
|
||||
Reference in New Issue
Block a user