First stable version #58
12
src/tui.cpp
12
src/tui.cpp
|
@ -375,11 +375,11 @@ WINDOW* TUI::createEntryWindow(int iXSize, int iYSize, int iXStart, int iYStart,
|
|||
0-2: space
|
||||
3-31: Serial
|
||||
32: space
|
||||
33-42: Speed
|
||||
43: space
|
||||
44-55: Time
|
||||
55: space
|
||||
56-70: State (but right side aligned)
|
||||
33-45: Speed
|
||||
46: space
|
||||
47-58: Time
|
||||
59: space
|
||||
60-70: State (but right side aligned)
|
||||
*/
|
||||
|
||||
vTruncateText(&sModelFamily, 32);
|
||||
|
@ -390,7 +390,7 @@ WINDOW* TUI::createEntryWindow(int iXSize, int iYSize, int iXStart, int iYStart,
|
|||
vTruncateText(&sSerial, 28);
|
||||
mvwaddstr(newWindow, 2, 3, sSerial.c_str());
|
||||
mvwaddstr(newWindow, 2, 33, sSpeed.c_str());
|
||||
mvwaddstr(newWindow, 2, 44, sTime.c_str());
|
||||
mvwaddstr(newWindow, 2, 47, sTime.c_str());
|
||||
mvwaddstr(newWindow,2, iXSize - sState.length() - 2, sState.c_str());
|
||||
|
||||
return newWindow;
|
||||
|
|
Loading…
Reference in New Issue