b6d8b7296a
Press Tab in the cmdline to complete the current word as a path/filename. Completion resolves against the active panel's current directory (stored in Cmdline::base_dir when the cmdline is activated). - Cmdline::complete(base_dir) extends the input to the longest common prefix of all matching entries. If there's only one match, appends a trailing slash. - Cmdline::set_base_dir(path) is called by dispatch when the Cmdline Cmd is dispatched. - Tab key in Cmdline::handle_key calls complete(self.base_dir). Added 1 unit test verifying LCP extension for partial prefix. Tests: 1401 pass (was 1400), zero warnings.