mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 15:47:17 +03:00
Merge pull request #59 from Kealper/master
Remove italics, added songgao's text reflow workaround
This commit is contained in:
commit
410691566b
@ -144,6 +144,7 @@ func (c *Client) Silence(d time.Duration) {
|
||||
|
||||
// Resize resizes the client to the given width and height
|
||||
func (c *Client) Resize(width, height int) error {
|
||||
width = 1000000 // TODO: Remove this dirty workaround for text overflow once ssh/terminal is fixed
|
||||
err := c.term.SetSize(width, height)
|
||||
if err != nil {
|
||||
logger.Errorf("Resize failed: %dx%d", width, height)
|
||||
|
Loading…
x
Reference in New Issue
Block a user