defaults.js (450B)
1 /** 2 * The default options 3 * @type {Object} 4 */ 5 window.FakeTerminal.defaultOptions = { 6 7 // The user's username 8 username: 'root', 9 10 // The hostname 11 hostname: window.location.host, 12 13 // How many history items to save 14 history: 1000, 15 16 // The prompt pattern 17 prompt: '[%username%@%hostname%: %cwd%] ', 18 19 // Any commands to run on "login" 20 login: null, 21 22 // The user's current working directory 23 cwd: '~' 24 };