kitten icat: Fix image being displayed one cell to the right when using both --place and --unicode-placeholder
Fixes #6556
This commit is contained in:
parent
b276b563c5
commit
2c232ce709
2 changed files with 3 additions and 1 deletions
|
|
@ -49,6 +49,8 @@ Detailed list of changes
|
|||
|
||||
- kitten @ ls: Allow limiting output to matched windows/tabs (:iss:`6520`)
|
||||
|
||||
- kitten icat: Fix image being displayed one cell to the right when using both ``--place`` and ``--unicode-placeholder`` (:iss:`6556`)
|
||||
|
||||
- Remote control: Allow using a random TCP port as the remote control socket and also allow using TCP sockets in :opt:`listen_on`
|
||||
|
||||
- unicode_input kitten: Add an option to specify the startup tab (:iss:`6552`)
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ func write_unicode_placeholder(imgd *image_data) {
|
|||
id_char := string(images.NumberToDiacritic[(imgd.image_id>>24)&255])
|
||||
for r := 0; r < imgd.height_cells; r++ {
|
||||
if imgd.move_to.x > 0 {
|
||||
fmt.Printf("\x1b[%dC", imgd.move_to.x)
|
||||
fmt.Printf("\x1b[%dC", imgd.move_to.x-1)
|
||||
} else {
|
||||
os.Stdout.WriteString(prefix)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue