diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-08-20 12:13:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-08-20 12:13:45 +0000 |
commit | 0ba9c8822c334c994871f7d77e0d75b95d062616 (patch) | |
tree | aebaaf19eb9d05e90bb27618c29520f9a1be7d3e /cgps.c | |
parent | 8b9d7a6c5dd20e377c43216302a74070f02f8f4f (diff) | |
download | gpsd-0ba9c8822c334c994871f7d77e0d75b95d062616.tar.gz |
In cgps, show the O commands up from the server.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -78,7 +78,7 @@ static void die(int sig UNUSED) /* This gets called once for each new sentence. */ static void update_panel(struct gps_data_t *gpsdata, char *message, - size_t len UNUSED, + size_t len, int level UNUSED) { int i; @@ -242,6 +242,10 @@ static void update_panel(struct gps_data_t *gpsdata, (void)move(10,17); (void)printw("(%d secs) ", (int) (time(NULL) - timer)); + (void)move(11,0); + (void)clrtobot(); + (void)addstr(message); + /* Update the screen. */ (void)refresh(); } |