mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 07:30:40 +00:00
fix set port bug.
git-svn-id: svn://qnap.local/TwoTerm/branches/frameless@3095 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
parent
c788e925c8
commit
7c621218f9
@ -371,7 +371,7 @@ enum {
|
|||||||
|
|
||||||
case StateSetPort1:
|
case StateSetPort1:
|
||||||
// [
|
// [
|
||||||
if (c == ']')
|
if (c == '[')
|
||||||
{
|
{
|
||||||
_state++;
|
_state++;
|
||||||
}
|
}
|
||||||
@ -434,10 +434,10 @@ enum {
|
|||||||
|
|
||||||
-(void)keyDown:(NSEvent *)event screen:(Screen *)screen output:(OutputChannel *)output
|
-(void)keyDown:(NSEvent *)event screen:(Screen *)screen output:(OutputChannel *)output
|
||||||
{
|
{
|
||||||
unsigned flags = [event modifierFlags];
|
NSEventModifierFlags flags = [event modifierFlags];
|
||||||
NSString *chars = [event charactersIgnoringModifiers];
|
NSString *chars = [event charactersIgnoringModifiers];
|
||||||
|
|
||||||
unsigned length = [chars length];
|
NSUInteger length = [chars length];
|
||||||
|
|
||||||
for (unsigned i = 0; i < length; ++i)
|
for (unsigned i = 0; i < length; ++i)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user