all repos — fluxbox @ 3f615b530f25a87ab5984a1cfc4d3436cafbdba5

custom fork of the fluxbox windowmanager

C-c clears the window, and now @ and | works, patch from Mathias Gumz
fluxgen fluxgen
commit

3f615b530f25a87ab5984a1cfc4d3436cafbdba5

parent

526c8f5faa371ea199e20c3fb3f810f959986097

1 files changed, 8 insertions(+), 2 deletions(-)

jump to
M src/FbTk/TextBox.ccsrc/FbTk/TextBox.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextBox.cc,v 1.7 2004/01/21 12:32:53 fluxgen Exp $ +// $Id: TextBox.cc,v 1.8 2004/03/18 14:33:09 fluxgen Exp $ #include "TextBox.hh" #include "Font.hh"

@@ -215,8 +215,14 @@ break;

case XK_k: killToEnd(); break; + case XK_c: + cursorHome(); + m_text.clear(); + adjustStartPos(); + adjustEndPos(); + break; } - } else if (event.state == ShiftMask) { + } else if (event.state == ShiftMask || event.state == 0x2000) { if (isprint(keychar[0])) { std::string val; val += keychar[0];