status-im / status-console-client

Status messaging console user interface
Mozilla Public License 2.0
10 stars 2 forks source link

Copy pasting public key formatting #68

Closed oskarth closed 5 years ago

oskarth commented 5 years ago

When I want to add a contact it screw up formatting, so it shows up as

/contacts add 0xaaaa 2 a l o t s o f s p a c e s

Sometimes it posts public key double as well. Pasting in other terminals works fine.

cc @adambabik

adambabik commented 5 years ago

https://github.com/jroimartin/gocui/issues/187

EDIT: this is unfortunately a bug in the underlying library we use to draw the UI in Terminal. I will play a bit with fix ideas posted in that convo.

adambabik commented 5 years ago

Btw, it's only triggered when the terminal window size (width) is shorter than the pasted text length.

adambabik commented 5 years ago

Workaround proposed in #71.

oskarth commented 5 years ago

Ah, terminal zoom out works, thanks

adambabik commented 5 years ago

Closing for now because implemented workarounds are enough.