This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:logger/logger.dart'; | |
class SplitConsoleOutput extends LogOutput { | |
/// Maximum length per line in the log. Any logs larger than this length | |
/// will be split into chunks and printed in sequence. | |
final int splitLength; | |
/// Set to `false` to disable splitting, or leave `null`/`true` to retain the | |
/// default behavior, which is to truncate the text. | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KeyCodes = { | |
"BACKSPACE": 8, | |
"TAB": 9, | |
"ENTER": 13, | |
"SHIFT": 16, | |
"CTRL": 17, | |
"ALT": 18, | |
"PAUSE": 19, | |
"CAPS_LOCK": 20, | |
"ESCAPE": 27, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PROMPT_COMMAND=__prompt_command | |
function __prompt_command() { | |
EXIT="$?" | |
PS1="" | |
# Colored Terminal | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced |
NewerOlder