Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added INPUT_CLEAR function #366

Merged
merged 4 commits into from
Sep 1, 2019
Merged

Added INPUT_CLEAR function #366

merged 4 commits into from
Sep 1, 2019

Conversation

ziflex
Copy link
Member

@ziflex ziflex commented Aug 30, 2019

No description provided.

@ziflex ziflex requested a review from 3timeslazy August 30, 2019 01:00
@@ -33,14 +63,14 @@ func (k *Keyboard) Up(ctx context.Context, char string) error {
}

func (k *Keyboard) Type(ctx context.Context, text string, delay int) error {
for _, ch := range text {
for _, ch := range []rune(text) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S1029: should range over string, not []rune(string) (from gosimple)

@codecov
Copy link

codecov bot commented Aug 30, 2019

Codecov Report

Merging #366 into master will decrease coverage by 0.1%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##           master    #366     +/-   ##
========================================
- Coverage    39.7%   39.7%   -0.1%     
========================================
  Files         218     218             
  Lines        8721    8747     +26     
========================================
+ Hits         3465    3469      +4     
- Misses       4905    4926     +21     
- Partials      351     352      +1

@ziflex ziflex merged commit af1125c into master Sep 1, 2019
@ziflex
Copy link
Member Author

ziflex commented Sep 2, 2019

closes #362

@ziflex ziflex deleted the bugfix/clear-input branch September 4, 2019 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants