summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2024-02-03 05:52:57 +0900
committerKyohei Uto <im@kyoheiu.dev>2024-02-03 05:52:57 +0900
commit7f025ab3cd553633c5746f6b05524d1bfdcfc444 (patch)
treebaafabecc4264cf03d5d38f202d18497e49b676a
parentaf47ad9c90c0f50e5f5d0818de371c3f65116dc1 (diff)
Add comment
-rw-r--r--src/run.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.rs b/src/run.rs
index ef2f959..9a1ce8d 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -153,7 +153,7 @@ pub fn run(arg: PathBuf, log: bool) -> Result<(), FxError> {
/// Run the app. (Containing the main loop)
fn _run(mut state: State, session_path: PathBuf) -> Result<(), FxError> {
- //Enter the alternate screen with crossterm
+ //Save the current cursor position and enter the alternate screen with crossterm
let mut screen = stdout();
write!(screen, "{}", SavePosition)?;
enter_raw_mode();