Changeset 4139 for trunk/console
- Timestamp:
- 06/08/05 13:54:32 (3 years ago)
- Location:
- trunk/console/src
- Files:
-
- 2 modified
-
console.cpp (modified) (3 diffs)
-
console.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r4023 r4139 162 162 licqConf.ReadStr("OfflineFormat", m_szOfflineFormat, "%a"); 163 163 licqConf.ReadStr("CommandCharacter", m_szCommandChar, "/"); 164 licqConf.ReadNum("Backspace", m_nBackspace, KEY_BACKSPACE); 164 165 165 166 if (licqConf.SetSection("macros")) … … 395 396 licqConf.WriteStr("OfflineFormat", m_szOfflineFormat); 396 397 licqConf.WriteStr("CommandCharacter", m_szCommandChar); 398 licqConf.WriteNum("Backspace", (unsigned long)m_nBackspace); 397 399 398 400 licqConf.SetSection("macros"); … … 1061 1063 } 1062 1064 1065 // Some operating systems don't have a consistent set of settings for 1066 // what key should erase characters. In particular, FC3 sets the terminal 1067 // erase character (kbs) for xterm to ^H instead of 127, even though the 1068 // rest of the operating system follows the Debian conventions. 1069 // This allows the user to override whatever the OS has chosen. 1070 if (cIn == m_nBackspace) 1071 cIn = KEY_BACKSPACE; 1072 1063 1073 (this->*(winMain->fProcessInput))(cIn); 1064 1074 } -
trunk/console/src/console.h
r3933 r4139 83 83 char m_szOfflineFormat[30]; 84 84 char m_szCommandChar[30]; 85 short m_nBackspace; 85 86 86 87 unsigned short m_nCurrentGroup, m_nCon;
