Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 20, 2023
1 parent f60c70d commit f4d117c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
cargo llvm-cov --color always --lcov --output-path lcov.info --features=search,termwiz,arbitrary
cargo llvm-cov --color always --no-run
if: ${{ matrix.os == 'windows-latest' }}
- run: cargo llvm-cov --color always --lcov --output-path lcov-clipboard.info --features=clipboard clipboard::tests::
- run: cargo llvm-cov --color always --lcov --output-path lcov-clipboard.info --features=clipboard 'clipboard::tests::'
- run: cargo test --no-default-features --features=tuirs-crossterm,search -- --skip .rs
- run: cargo test --no-default-features --features=tuirs-termion,search -- --skip .rs
if: ${{ matrix.os != 'windows-latest' }}
Expand Down
3 changes: 3 additions & 0 deletions src/textarea.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,7 @@ impl<'a> TextArea<'a> {
/// Paste a string previously deleted by [`TextArea::delete_line_by_head`], [`TextArea::delete_line_by_end`],
/// [`TextArea::delete_word`], [`TextArea::delete_next_word`]. This method returns if some text was inserted or not
/// in the textarea.
/// When `clipboard` feature is enabled, this method pastes the content in a system clipboard.
/// ```
/// use tui_textarea::{TextArea, CursorMove};
///
Expand Down Expand Up @@ -1387,6 +1388,7 @@ impl<'a> TextArea<'a> {

/// Copy the selection text to the yank buffer. When nothing is selected, this method does nothing.
/// To get the yanked text, use [`TextArea::yank_text`].
/// When `clipboard` feature is enabled, copied content will be sent to a system clipboard.
/// ```
/// use tui_textarea::{TextArea, Key, Input, CursorMove};
///
Expand Down Expand Up @@ -1420,6 +1422,7 @@ impl<'a> TextArea<'a> {
/// Cut the selected text and place it in the yank buffer. This method returns whether the text was modified.
/// The cursor will move to the start position of the text selection.
/// To get the yanked text, use [`TextArea::yank_text`].
/// When `clipboard` feature is enabled, the content will be sent to a system clipboard.
/// ```
/// use tui_textarea::{TextArea, Key, Input, CursorMove};
///
Expand Down

0 comments on commit f4d117c

Please sign in to comment.