Mercurial > projects > pwm
comparison pwm.h @ 22:ec01c579024a
Add fully interactive mode
author | Guido Berhoerster <guido+pwm@berhoerster.name> |
---|---|
date | Thu, 07 Sep 2017 12:40:50 +0200 |
parents | efef93e54c5f |
children | 1b89066d992c |
comparison
equal
deleted
inserted
replaced
21:ee4d36c85287 | 22:ec01c579024a |
---|---|
42 #ifndef PWM_HISTORY_MAX | 42 #ifndef PWM_HISTORY_MAX |
43 #define PWM_HISTORY_MAX (PWM_HISTORY_LINES_MAX * PWM_LINE_MAX) | 43 #define PWM_HISTORY_MAX (PWM_HISTORY_LINES_MAX * PWM_LINE_MAX) |
44 #endif /* !PWM_HISTORY_MAX */ | 44 #endif /* !PWM_HISTORY_MAX */ |
45 | 45 |
46 struct pwm_ctx { | 46 struct pwm_ctx { |
47 int is_interactive; | |
47 const char *prev_cmd; | 48 const char *prev_cmd; |
48 char *errmsg; | 49 char *errmsg; |
49 char *dirname; | 50 char *dirname; |
50 char *filename; | 51 char *filename; |
51 struct pws3_file *file; | 52 struct pws3_file *file; |