Skip to content

Also output the executed command when interacting with the interactive controller #3

@sonrad10

Description

@sonrad10

Currently, only the output is outputted when a method is called with output=true. This leads to outputs like the following:

Program 'add' loaded.
HWhile> 
No breakpoints set.
HWhile> 
Breakpoint set in program true at line 5.
HWhile> 
wrote Y = <nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.nil>>>>>>>>>>>
HWhile> 

It would make more sense if the executed commands were also added to the output, to produce this:

:load add
Program 'add' loaded.
HWhile> :break
No breakpoints set.
HWhile> :break 5
Breakpoint set in program true at line 5.
HWhile> :run
wrote Y = <nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.<nil.nil>>>>>>>>>>>
HWhile> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions