search for: force_text_mode

Displaying 1 result from an estimated 1 matches for "force_text_mode".

2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...+++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+), 0 deletions(-) diff --git a/core/ui.inc b/core/ui.inc index 2d44447..0e82779 100644 --- a/core/ui.inc +++ b/core/ui.inc @@ -125,6 +125,8 @@ not_ascii: je print_version cmp al,'X' & 1Fh ; <Ctrl-X> je force_text_mode + cmp al,'P' & 1Fh ; <Ctrl-P> + je paste cmp al,08h ; Backspace jne get_char backspace: cmp di,command_line ; Make sure there is anything @@ -143,6 +145,10 @@ force_text_mode: call vgaclearmode jmp enter_command +paste: + call vmware_paste + jmp get_char +...