X-Git-Url: https://git.armaanb.net/?p=gen-shell.git;a=blobdiff_plain;f=src%2Fprompt.cpp;h=3eb12b2fcc4dfe5510403ed4246934553e76e7a6;hp=b1d40f52e44e1801c65034a18e97aabbb6c99658;hb=eb1e18ee5dc8235e48dd5184f60c13c33cad6add;hpb=a5d9cd320e9ed83e36de2b5326f1201ea16b697f diff --git a/src/prompt.cpp b/src/prompt.cpp index b1d40f5..3eb12b2 100644 --- a/src/prompt.cpp +++ b/src/prompt.cpp @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////// // -// Copyright 2006 - 2017, Paul Beckingham, Federico Hernandez. +// Copyright 2006 - 2017, Paul Beckingham, Federico Hernandez, 2020 Armaan Bhojwani // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -88,11 +88,6 @@ std::string composeContexts (bool pretty /* = false */) //////////////////////////////////////////////////////////////////////////////// std::string promptCompose () { - // TODO The prompt may be composed of different elements: - // TODO - The configurable text - // TODO - The accumulated context, as colored tokens. - // TODO - sync status - // TODO - time auto decoration = composeContexts (true); if (decoration.length ()) return "task " + decoration + "> ";