Skip to content

Commit

Permalink
fixed formatting mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 27, 2024
1 parent b972179 commit f2fe0d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/postgres/chat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ use crossterm::{
execute,
terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen},
};
use sqlx::postgres::PgListener;
use sqlx::PgPool;
use std::sync::Arc;
use std::{error::Error, io};
use tokio::{sync::Mutex, time::Duration};
use ratatui::text::Line;
use ratatui::{
backend::{Backend, CrosstermBackend},
layout::{Constraint, Direction, Layout},
Expand All @@ -16,7 +12,11 @@ use ratatui::{
widgets::{Block, Borders, List, ListItem, Paragraph},
Frame, Terminal,
};
use ratatui::text::Line;
use sqlx::postgres::PgListener;
use sqlx::PgPool;
use std::sync::Arc;
use std::{error::Error, io};
use tokio::{sync::Mutex, time::Duration};
use unicode_width::UnicodeWidthStr;

struct ChatApp {
Expand Down

0 comments on commit f2fe0d5

Please sign in to comment.