mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-04 13:02:39 +08:00
[fix] preserve CLI display aspect ratio across terminals
This commit is contained in:
@@ -238,6 +238,10 @@ void Input::Feed(const std::string &bytes, ControllerSession &s,
|
||||
return;
|
||||
std::string seq = pending_.substr(0, end + 1);
|
||||
pending_.erase(0, end + 1);
|
||||
if (seq.back() == 't') {
|
||||
terminal_metrics.Report(seq);
|
||||
continue;
|
||||
}
|
||||
if (seq == "\033[O") {
|
||||
control = false;
|
||||
s.SetControl(false);
|
||||
|
||||
Reference in New Issue
Block a user