mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
debug: special command can turn debug mode on and off
Using the .debug command, debug mode can be toggled. It starts turned off. When it is on, each command, before being executed, is debug-printed using the tree-printing facilities.
This commit is contained in:
parent
18014cda98
commit
ac411d36cc
4 changed files with 40 additions and 18 deletions
|
|
@ -6,13 +6,15 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/19 18:02:19 by khais #+# #+# */
|
||||
/* Updated: 2025/02/19 18:03:06 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/09 13:51:41 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef GET_COMMAND_H
|
||||
# define GET_COMMAND_H
|
||||
|
||||
char *get_command(void);
|
||||
# include "minishell.h"
|
||||
|
||||
char *get_command(t_minishell *app);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue