[all-commits] [llvm/llvm-project] 945cde: [LLDB][GUI] Add submit form key combination

Omar Emara via All-commits all-commits at lists.llvm.org
Mon Aug 23 22:07:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 945cde8b6a4579406886d08f803b632e00f0b1ec
      https://github.com/llvm/llvm-project/commit/945cde8b6a4579406886d08f803b632e00f0b1ec
  Author: Omar Emara <mail at OmarEmara.dev>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [LLDB][GUI] Add submit form key combination

This patch adds a new key ALt+Enter key combination to form windows.
Once invoked, the first action is executed without having to navigate to
its button.

Field exit callbacks are now also invoked on validation to support this
aforementioned key combination.

One concern for this key combination is its potential use by the window
manager of the host. I am not sure if this will be a problem, but it is
worth putting in consideration.

Differential Revision: https://reviews.llvm.org/D108410




More information about the All-commits mailing list