OSDN Git Service

android/client: Split terminal_process_char
authorJerzy Kasenberg <jerzy.kasenberg@tieto.com>
Fri, 8 Nov 2013 12:48:27 +0000 (13:48 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Nov 2013 13:13:01 +0000 (15:13 +0200)
commitb07cff3c6bfaf8886c2fef686d7f5a07bc5b1334
tree4396f7ca4758f06a525fa2838df8a6c8ad5afcc1
parent316ddc8b96a75d987b53475f2ad040a98240c01d
android/client: Split terminal_process_char

This patch changes the way input characters are handled in function
terminal_process_char from big switch statement to smaller functions.
No functionality is changed in this patch.
Splitting to smaller functions will make easier to change behaviour
of terminal for prompt handling when user will be asked for something
and history substitution or auto completion will not be used.
android/client/terminal.c
android/client/terminal.h