Skip to content

Character wrap around in terminal is messed up #268

@codes4coffee

Description

@codes4coffee
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Characters should wrap properly to the next line

Actual behavior

Characters after certain line length begin appearing in random places in the terminal window. Inside mysql cmd after x amount of characters and you start backspacing, prompt jumps a couple of lines up from the initial input line. Example here

Steps to reproduce the behavior

  1. Run docker exec -it [Ubuntu or mysql container id] bash
  2. Type characters until undesired wrap
  3. Also, run mysql and type out characters until wrap
  4. If actual behavior does not surface in mysql cmd, start backspacing

Output of docker version:

Client:
 Version:       18.01.0-ce
 API version:   1.35
 Go version:    go1.9.2
 Git commit:    03596f51b1
 Built: Sun Jan 14 23:10:39 2018
 OS/Arch:       linux/amd64
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      18.01.0-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.2
  Git commit:   03596f51b1
  Built:        Sun Jan 14 23:11:14 2018
  OS/Arch:      linux/amd64
  Experimental: false

Output of docker info:

Containers: 5
 Running: 2
 Paused: 0
 Stopped: 3
Images: 6
Server Version: 18.01.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.14.13-1-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 15.65GiB
Name: xerxes
ID: 7JSP:DPFP:PZF7:VHJ5:N7EC:LBWT:ERSG:OUCO:OIUW:DXWT:5BZN:SDAT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.)

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