Skip to content

Commit e70bebf

Browse files
committed
renaming for searching
1 parent 8e19cff commit e70bebf

File tree

18 files changed

+28
-28
lines changed

18 files changed

+28
-28
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: prompt
1+
name: promkit
22

33
on: [push]
44

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
2-
name = "promptio"
2+
name = "promkit"
33
version = "0.1.0"
44
authors = ["ynqa <[email protected]>"]
55
edition = "2018"
66
description = "A toolkit for building your own interactive command-line tools"
7-
repository = "https://github.com/ynqa/promptio"
7+
repository = "https://github.com/ynqa/promkit"
88
license = "MIT"
99
readme = "README.md"
1010

@@ -13,7 +13,7 @@ name = "debug_cursor"
1313
path = "debugs/cursor.rs"
1414

1515
[lib]
16-
name = "promptio"
16+
name = "promkit"
1717
path = "src/lib.rs"
1818

1919
[dependencies]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2022 promptio authors
3+
Copyright (c) 2022 promkit authors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# promptio
1+
# promkit
22

3-
[![.github/workflows/promptio.yml](https://github.com/ynqa/promptio/actions/workflows/prompt.yml/badge.svg)](https://github.com/ynqa/promptio/actions/workflows/promptio.yml)
4-
[![docs.rs](https://img.shields.io/docsrs/promptio)](https://docs.rs/promptio)
3+
[![.github/workflows/promkit.yml](https://github.com/ynqa/promkit/actions/workflows/promkit.yml/badge.svg)](https://github.com/ynqa/promkit/actions/workflows/promkit.yml)
4+
[![docs.rs](https://img.shields.io/docsrs/promkit)](https://docs.rs/promkit)
55

66
A toolkit for building your own interactive command-line tools in Rust,
77
utilizing [crossterm](https://github.com/crossterm-rs/crossterm).
@@ -12,7 +12,7 @@ Put the package in your `Cargo.toml`.
1212

1313
```toml
1414
[dependencies]
15-
promptio = "0.1.0"
15+
promkit = "0.1.0"
1616
```
1717

1818
## Features
@@ -32,7 +32,7 @@ promptio = "0.1.0"
3232
Readline:
3333

3434
```rust
35-
use promptio::{build::Builder, readline, Result};
35+
use promkit::{build::Builder, readline, Result};
3636

3737
fn main() -> Result<()> {
3838
let mut p = readline::Builder::default().build()?;
@@ -51,7 +51,7 @@ Select:
5151

5252
```rust
5353
use crossterm::style;
54-
use promptio::{
54+
use promkit::{
5555
build::Builder,
5656
edit::{Register, SelectBox},
5757
select, Result,

debugs/cursor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crossterm::{
77
terminal,
88
};
99

10-
use promptio::{termutil, Result};
10+
use promkit::{termutil, Result};
1111

1212
fn main() -> Result<()> {
1313
terminal::enable_raw_mode()?;

examples/advanced/custom_event_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crossterm::{
66
event::{Event, KeyCode, KeyEvent, KeyModifiers},
77
};
88

9-
use promptio::{
9+
use promkit::{
1010
build::Builder,
1111
handler,
1212
readline::{self, State},

examples/advanced/custom_input_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::io;
22

3-
use promptio::{
3+
use promkit::{
44
build::Builder,
55
keybind::KeyBind,
66
readline::{self, handler, State},

examples/advanced/custom_keybind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crossterm::{
55
event::{Event, KeyCode, KeyEvent, KeyModifiers},
66
};
77

8-
use promptio::{
8+
use promkit::{
99
build::Builder,
1010
grapheme::Graphemes,
1111
keybind::KeyBind,

examples/readline/label.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crossterm::style;
22

3-
use promptio::{build::Builder, readline, Result};
3+
use promkit::{build::Builder, readline, Result};
44

55
fn main() -> Result<()> {
66
let mut p = readline::Builder::default()

examples/readline/masking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use promptio::{build::Builder, readline, Result};
1+
use promkit::{build::Builder, readline, Result};
22

33
fn main() -> Result<()> {
44
let mut p = readline::Builder::default().mask('\0').build()?;

0 commit comments

Comments
 (0)