about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-24 16:23:51 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-07-24 16:23:51 +0200
commit3737b653725c2e6ad5323cf6caafcd6e59a938f6 (patch)
tree47f12361f26a481a8698948b50b6d6f40c3ae6c7 /crates
parentfix(crates/yt/commands): Add the actual `implm` wrapper (diff)
downloadyt-3737b653725c2e6ad5323cf6caafcd6e59a938f6.zip
refactor(crates/yt/src/ansi_escape_codes): Use better name for `erase_in_display_from_cursor`
Diffstat (limited to 'crates')
-rw-r--r--crates/yt/src/ansi_escape_codes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/yt/src/ansi_escape_codes.rs b/crates/yt/src/ansi_escape_codes.rs
index 4528bd0..28a8370 100644
--- a/crates/yt/src/ansi_escape_codes.rs
+++ b/crates/yt/src/ansi_escape_codes.rs
@@ -10,7 +10,7 @@
 
 // see: https://en.wikipedia.org/wiki/ANSI_escape_code#Control_Sequence_Introducer_commands
 const CSI: &str = "\x1b[";
-pub(crate) fn erase_in_display_from_cursor() {
+pub(crate) fn erase_from_cursor_to_bottom() {
     print!("{CSI}0J");
 }
 pub(crate) fn cursor_up(number: usize) {