|
@@ -308,7 +308,7 @@ Terminal::ANSI_TYPE Terminal::ansi_code(std::string ansi) {
|
|
|
case 'u':
|
|
|
// restore position
|
|
|
if (saved_cursor_position.empty()) {
|
|
|
- ZF_LOGE("Restore cursor position from empty history.");
|
|
|
+ ZF_LOGE("Restore from saved_cursor_position (empty).");
|
|
|
} else {
|
|
|
std::pair<int, int> pos = saved_cursor_position.back();
|
|
|
this->posx = pos.first;
|
|
@@ -693,7 +693,7 @@ ANSI_TYPE console_ansi(struct console_details *cdp, const char *ansi) {
|
|
|
case 'u':
|
|
|
// restore position
|
|
|
if (cursor_position_history.empty()) {
|
|
|
- ZF_LOGE("Restore cursor position from empty history.");
|
|
|
+ ZF_LOGE("Restore from cursor_position_history (empty).");
|
|
|
} else {
|
|
|
std::pair<int, int> pos = cursor_position_history.back();
|
|
|
cdp->posx = pos.first;
|