Skip to content

Commit

Permalink
fix help text
Browse files Browse the repository at this point in the history
  • Loading branch information
kyu08 committed Nov 22, 2023
1 parent 9b3054c commit ef50606
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/usecases/fzf_make_ratatui/ratatui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ use super::{
ui::ui,
};

// TODO: 画面の枠をつくっていく
// TODO: その中でfzf-makeの実行を試みる
pub fn main() -> Result<(), Box<dyn Error>> {
// setup terminal
enable_raw_mode()?;
Expand Down
4 changes: 1 addition & 3 deletions src/usecases/fzf_make_ratatui/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub fn ui<B: Backend>(f: &mut Frame<B>, app: &App) {
])
.split(f.size());

// TODO: ここでfzf-makeを実行する
let list = rounded_border_block("fzf-make");
f.render_widget(list, chunks[0]);

Expand All @@ -39,8 +38,7 @@ pub fn ui<B: Backend>(f: &mut Frame<B>, app: &App) {
let current_keys_hint = {
match app.current_screen {
CurrentScreen::Main => Span::styled(
// TODO: edit
"(q) to quit",
"(q): to quit, <tab> move to next tab",
Style::default().fg(Color::Red),
),
}
Expand Down

0 comments on commit ef50606

Please sign in to comment.