Interface #6

Merged
michael-bailey merged 53 commits from Interface into Development 2021-02-08 21:12:11 +00:00
1 changed files with 11 additions and 0 deletions
Showing only changes of commit 7bec2135ff - Show all commits

View File

@ -0,0 +1,11 @@
use cursive::views::{Dialog, TextView};
use cursive::view::ViewWrapper;
use cursive::{Printer, View};
pub fn About() -> Box<dyn View> {
Box::new(
Dialog::new()
.content("rust chat server written by Mitchel Hardie & Michael Bailey (c) 2020")
.button("Close", |s| {s.pop_layer();})
)
}