projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove login name prompt from PSFTP.
[u/mdw/putty]
/
macosx
/
osxwin.m
diff --git
a/macosx/osxwin.m
b/macosx/osxwin.m
index
e534c90
..
a4fac71
100644
(file)
--- a/
macosx/osxwin.m
+++ b/
macosx/osxwin.m
@@
-893,6
+893,13
@@
int from_backend(void *frontend, int is_stderr, const char *data, int len)
return [win fromBackend:data len:len isStderr:is_stderr];
}
return [win fromBackend:data len:len isStderr:is_stderr];
}
+int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
+{
+ SessionWindow *win = (SessionWindow *)p->frontend;
+ Terminal *term = [win term];
+ return term_get_userpass_input(term, p, in, inlen);
+}
+
void frontend_keypress(void *handle)
{
/* FIXME */
void frontend_keypress(void *handle)
{
/* FIXME */
@@
-932,7
+939,7
@@
void update_specials_menu(void *frontend)
* may want to perform additional actions on any kind of bell (for
* example, taskbar flashing in Windows).
*/
* may want to perform additional actions on any kind of bell (for
* example, taskbar flashing in Windows).
*/
-void beep(void *frontend, int mode)
+void
do_
beep(void *frontend, int mode)
{
//SessionWindow *win = (SessionWindow *)frontend;
if (mode != BELL_VISUAL)
{
//SessionWindow *win = (SessionWindow *)frontend;
if (mode != BELL_VISUAL)
@@
-1169,7
+1176,7
@@
void get_clip(void *frontend, wchar_t ** p, int *len)
/* FIXME */
}
/* FIXME */
}
-void write_clip(void *frontend, wchar_t *
data
, int len, int must_deselect)
+void write_clip(void *frontend, wchar_t *
data, int *attr
, int len, int must_deselect)
{
//SessionWindow *win = (SessionWindow *)frontend;
/* FIXME */
{
//SessionWindow *win = (SessionWindow *)frontend;
/* FIXME */