mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 09:25:01 +00:00
Rename master branch -> main
This commit is contained in:
parent
1f87a44de6
commit
4d322eb42d
14
Readme.md
14
Readme.md
@ -1,8 +1,8 @@
|
|||||||
# Cursive
|
# Cursive
|
||||||
|
|
||||||
[![crates.io](https://meritbadge.herokuapp.com/cursive)](https://crates.io/crates/cursive)
|
[![crates.io](https://meritbadge.herokuapp.com/cursive)](https://crates.io/crates/cursive)
|
||||||
[![Build Status (travis)](https://travis-ci.org/gyscos/cursive.svg?branch=master)](https://travis-ci.org/gyscos/cursive)
|
[![Build Status (travis)](https://travis-ci.org/gyscos/cursive.svg?branch=main)](https://travis-ci.org/gyscos/cursive)
|
||||||
[![Build status (appveyor)](https://ci.appveyor.com/api/projects/status/uk5pww718jsp5x2l/branch/master?svg=true)](https://ci.appveyor.com/project/gyscos/cursive/branch/master)
|
[![Build status (appveyor)](https://ci.appveyor.com/api/projects/status/uk5pww718jsp5x2l/branch/main?svg=true)](https://ci.appveyor.com/project/gyscos/cursive/branch/main)
|
||||||
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
|
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
|
||||||
[![Gitter chat](https://badges.gitter.im/gyscos/cursive.png)](https://gitter.im/cursive-rs/cursive)
|
[![Gitter chat](https://badges.gitter.im/gyscos/cursive.png)](https://gitter.im/cursive-rs/cursive)
|
||||||
|
|
||||||
@ -46,9 +46,9 @@ fn main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
[![Cursive dialog example](https://raw.githubusercontent.com/gyscos/cursive/master/doc/cursive_example.png)](examples/src/bin/dialog.rs)
|
[![Cursive dialog example](https://raw.githubusercontent.com/gyscos/cursive/main/doc/cursive_example.png)](examples/src/bin/dialog.rs)
|
||||||
|
|
||||||
Check out the other [examples](https://github.com/gyscos/cursive/tree/master/examples) to get these results, and more:
|
Check out the other [examples](https://github.com/gyscos/cursive/tree/main/examples) to get these results, and more:
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<a href="examples/src/bin/edit.rs"><img src="https://imgur.com/CQgSwly.png" alt="edit.rs example", width="48%" /></a>
|
<a href="examples/src/bin/edit.rs"><img src="https://imgur.com/CQgSwly.png" alt="edit.rs example", width="48%" /></a>
|
||||||
@ -65,9 +65,9 @@ _(Colors may depend on your terminal configuration.)_
|
|||||||
|
|
||||||
These tutorials may help you get started with cursive:
|
These tutorials may help you get started with cursive:
|
||||||
|
|
||||||
* [Starting with cursive: (1/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_1.md)
|
* [Starting with cursive: (1/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_1.md)
|
||||||
* [Starting with cursive: (2/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_2.md)
|
* [Starting with cursive: (2/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_2.md)
|
||||||
* [Starting with cursive: (3/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_3.md)
|
* [Starting with cursive: (3/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_3.md)
|
||||||
|
|
||||||
## Third-party views
|
## Third-party views
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ pub type OnSubmit = dyn Fn(&mut Cursive, &str);
|
|||||||
///
|
///
|
||||||
/// From the [edit example][1].
|
/// From the [edit example][1].
|
||||||
///
|
///
|
||||||
/// [1]: https://github.com/gyscos/cursive/blob/master/examples/src/bin/edit.rs
|
/// [1]: https://github.com/gyscos/cursive/blob/main/examples/src/bin/edit.rs
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # use cursive_core::Cursive;
|
/// # use cursive_core::Cursive;
|
||||||
|
Loading…
Reference in New Issue
Block a user