about summary refs log tree commit diff stats
path: root/crates/termsize/src/other.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 10:10:07 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-02-16 10:10:07 +0100
commit9da970f1f44f19432680e255f91f73fbb8fbe3c8 (patch)
tree7bf2e5ded6d81b4ae76a080eaa5f80418343a5a9 /crates/termsize/src/other.rs
parentrefactor(treewide): Remove all references of the now obsolete update_raw.py (diff)
downloadyt-9da970f1f44f19432680e255f91f73fbb8fbe3c8.zip
chore(crates/termsize): Vendor
Diffstat (limited to 'crates/termsize/src/other.rs')
-rw-r--r--crates/termsize/src/other.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/crates/termsize/src/other.rs b/crates/termsize/src/other.rs
new file mode 100644
index 0000000..8a02f22
--- /dev/null
+++ b/crates/termsize/src/other.rs
@@ -0,0 +1,14 @@
+// yt - A fully featured command line YouTube client
+//
+// Copyright (C) 2025 softprops <d.tangren@gmail.com>
+// SPDX-License-Identifier: MIT
+//
+// This file is part of Yt.
+//
+// You should have received a copy of the License along with this program.
+// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
+/// Gets the current terminal size
+pub fn get() -> Option<super::Size> {
+    None
+}