projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In SSH, we now send terminal speeds to the server when requesting a pty
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
cb00ea6
..
083b0fb
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-3799,9
+3799,13
@@
static void clipme(Terminal *term, pos top, pos bottom, int rect, int desel)
void term_copyall(Terminal *term)
{
pos top;
void term_copyall(Terminal *term)
{
pos top;
+ pos bottom;
+ tree234 *screen = term->screen;
top.y = -sblines(term);
top.x = 0;
top.y = -sblines(term);
top.x = 0;
- clipme(term, top, term->curs, 0, TRUE);
+ bottom.y = find_last_nonempty_line(term, screen);
+ bottom.x = term->cols;
+ clipme(term, top, bottom, 0, TRUE);
}
/*
}
/*