)]}'
{
  "commit": "68bb2e3ee06fa4dbf39f95dc76743be5cd5254f5",
  "tree": "252b4c4ba48cd5c9eae20991cdfb1c5dcd8991bb",
  "parents": [
    "b3c82d5d2c67c8ef874ac0aa1c5d4558c93393df"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Jun 09 16:39:27 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Jun 09 16:39:27 2023 +0200"
  },
  "message": "[gdb/tui] Delete line buffer when switching to singlekey\n\nSay we\u0027re in TUI mode, and type \"sun\":\n...\n(gdb) sun\n...\n\nAfter switching to SingleKey mode using C-x s, we have just:\n...\nsun\n...\n\nAfter typing \"d\", we get:\n...\nsun\nUndefined command: \"sundown\".  Try \"help\".\n...\n\nThe SingleKey \"d\" is supposed run the \"down\" command.\n\nFix this by clearing the readline line buffer when switching to SingleKey\nmode.\n\nTested on x86_64-linux.\n\nPR tui/30522\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d30522\n\nReviewed-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5bde522ec2080dac82da588e24ea39fedc08faa1",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.tui/single-key-2.exp"
    },
    {
      "type": "modify",
      "old_id": "373d1673e3a0985c8db16777c51046192e479879",
      "old_mode": 33188,
      "old_path": "gdb/tui/tui.c",
      "new_id": "43be8161e4c099501b4521156424528e7b3b4795",
      "new_mode": 33188,
      "new_path": "gdb/tui/tui.c"
    }
  ]
}
