~goorzhel/rstdm

e31ab612c8c43366be36aa9dd241caafe501aba0 — Antonio Gurgel 28 days ago 3491a0d
Again with the clown shit

This was causing me to launch the wrong session.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/user.rs
M src/user.rs => src/user.rs +1 -1
@@ 201,7 201,7 @@ impl User {
                None => prompt("Desktop choice", EchoInput::Echo)?,
            };
            if let Ok(i) = usize::from_str(&choice) {
                if let Some(desktop) = sessions.get(i) {
                if let Some(desktop) = sessions.get(i - 1) {
                    let mut file = std::fs::OpenOptions::new()
                        .write(true)
                        .truncate(true)