Skip to content

The position to start next line looks wrong when stdin includes Japanese characters  #341

@hymkor

Description

@hymkor

What is the peco version, OS, architecture?

On Windows 10, the architecture is for 386.

$ peco --version
peco version v0.4.2

Abstract

When stdin includes Japanese characters, the position to start the next line looks wrong.

Discussion

The program to make data for sending to peco : peco-test.go (written in utf8)

package main

import "fmt"

func main() {
    fmt.Printf("あはは\nいひひ\nうふふ\n")
}

test

peco-test | peco

2016-09-05

type Ctrl-N

2016-09-05 1

type Ctrl-N

2016-09-05 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions