Skip to content

Commit

Permalink
release .1.11 to so cratesio shows correct readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinR528 committed May 29, 2020
1 parent 424ee17 commit a195662
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rumatui"
version = "0.1.10-alpha"
version = "0.1.11-alpha"
authors = ["Devin R <devin.ragotzy@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A click-able command-line Matrix client."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This project is still very much a work in progress. Please file issues, but I wi

# Install
```bash
cargo install rumatui --version 0.1.10-alpha
cargo install rumatui --version 0.1.11-alpha
```

# Run
Expand Down
5 changes: 4 additions & 1 deletion src/widgets/message/ctrl_char.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ fn main() {

assert_eq!(
"\u{1b}]8;;http://www.googlelskdnfodaf.com/\n",
// "{:?}",
CtrlChars::parse(w.to_string()).to_string()
);
}
Expand Down Expand Up @@ -546,6 +547,8 @@ https://matrix.org/docs/spec/client_server/latest#post-matrix-client-r0-rooms-ro
let mut w = Writer::default();
mdcat::push_tty(&settings, &mut w, &std::path::Path::new("/"), parser).expect("failed");

println!("{:?}", CtrlChars::parse(w.to_string()).to_string())
let expected = "TWIM: \\n# Docker-matrix\\n\\nThe docker image for synapse v1.12.4rc1 is now on \u{1b}]8;;https://hub.docker.com/r/mvgorcum/docker-matrix/tags\n";

assert_eq!(expected, CtrlChars::parse(w.to_string()).to_string())
}
}

0 comments on commit a195662

Please sign in to comment.