diff cmd.h @ 16:a07665727c19

Add status command Add status command to redisplay an error message of the previous command and unsaved changes. Add pwm_err function to display and save error messages.
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Tue, 08 Aug 2017 10:47:04 +0200
parents a7e41e1a79c8
children 5c6155c8e9b6
line wrap: on
line diff
--- a/cmd.h	Mon Aug 07 19:11:56 2017 +0200
+++ b/cmd.h	Tue Aug 08 10:47:04 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Guido Berhoerster <guido+pwm@berhoerster.name>
+ * Copyright (C) 2017 Guido Berhoerster <guido+pwm@berhoerster.name>
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -28,6 +28,7 @@
 
 enum cmd_return {
 	CMD_OK,
+	CMD_STATUS,
 	CMD_ERR,
 	CMD_USAGE,
 	CMD_QUIT