diff options
author | Melanie | 2013-05-11 01:29:30 +0100 |
---|---|---|
committer | Melanie | 2013-05-11 01:29:30 +0100 |
commit | 55c9bc15e571065f66190e017f973f6e1ac43428 (patch) | |
tree | 537b8c95902bf343d8aeeef52a38124e0ba7e701 /OpenSim/Framework/Console/LocalConsole.cs | |
parent | Send up the part missing from the Avination Estate commit. (diff) | |
parent | BulletSim: fix CPU loop that occurs when any 'degenerate' sculptie (diff) | |
download | opensim-SC-55c9bc15e571065f66190e017f973f6e1ac43428.zip opensim-SC-55c9bc15e571065f66190e017f973f6e1ac43428.tar.gz opensim-SC-55c9bc15e571065f66190e017f973f6e1ac43428.tar.bz2 opensim-SC-55c9bc15e571065f66190e017f973f6e1ac43428.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/LocalConsole.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs index d41481f..a967db6 100644 --- a/OpenSim/Framework/Console/LocalConsole.cs +++ b/OpenSim/Framework/Console/LocalConsole.cs | |||
@@ -426,6 +426,21 @@ namespace OpenSim.Framework.Console | |||
426 | System.Console.Write("{0}", prompt); | 426 | System.Console.Write("{0}", prompt); |
427 | 427 | ||
428 | break; | 428 | break; |
429 | case ConsoleKey.Delete: | ||
430 | if (m_cursorXPosition == m_commandLine.Length) | ||
431 | break; | ||
432 | |||
433 | m_commandLine.Remove(m_cursorXPosition, 1); | ||
434 | |||
435 | SetCursorLeft(0); | ||
436 | m_cursorYPosition = SetCursorTop(m_cursorYPosition); | ||
437 | |||
438 | if (m_echo) | ||
439 | System.Console.Write("{0}{1} ", prompt, m_commandLine); | ||
440 | else | ||
441 | System.Console.Write("{0}", prompt); | ||
442 | |||
443 | break; | ||
429 | case ConsoleKey.End: | 444 | case ConsoleKey.End: |
430 | m_cursorXPosition = m_commandLine.Length; | 445 | m_cursorXPosition = m_commandLine.Length; |
431 | break; | 446 | break; |