Code

screen: last_cmd should be a command_t
authorMax Kellermann <max@duempel.org>
Mon, 22 Sep 2008 08:05:52 +0000 (10:05 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 22 Sep 2008 08:05:52 +0000 (10:05 +0200)
last_cmd stores the previous command sent to the screen.  It is not a
timestamp, and its type should be command_t.

src/screen.h

index 0165abb21df673c098d52ae886bd105cdc0b3a09..aad9852a06bdbfbce21642575b105118d1bb1f29 100644 (file)
@@ -28,7 +28,8 @@ typedef struct screen {
        /* GTime is equivalent to time_t */
        GTime start_timestamp;
        GTime status_timestamp;
-       GTime last_cmd;
+
+       command_t last_cmd;
 
        int cols, rows;