Skip to content

Commit

Permalink
Fix tcp_server example displaying weird characters
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Jun 4, 2024
1 parent c296ff8 commit fda429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cursive/examples/tcp_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn build_log_viewer(model: Model) -> impl cursive::view::View {
printer.print(
(0, i),
&format!(
"{:3} '{}' -> {:3} '{}'",
"{:3} '{}' -> {:3} {:?}",
log.input,
readable_char(log.input),
log.output,
Expand Down

0 comments on commit fda429a

Please sign in to comment.